Home
last modified time | relevance | path

Searched hist:"1 e7226f70c9d944ae7f233b65fb4adda8f910dfe" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A D084.out1e7226f70c9d944ae7f233b65fb4adda8f910dfe Fri Mar 28 10:42:25 CDT 2014 Jeff Cody <jcody@redhat.com> block: vdi bounds check qemu-io tests

This test checks for proper bounds checking of some VDI input
headers. The following is checked:

1. Max image size (1024TB) with the appropriate Blocks In Image
value (0x3fffffff) is detected as valid.

2. Image size exceeding max (1024TB) is seen as invalid

3. Valid image size but with Blocks In Image value that is too
small fails

4. Blocks In Image size exceeding max (0x3fffffff) is seen as invalid

5. 64MB image, with 64 Blocks In Image, and 1MB Block Size is seen
as valid

6. Block Size < 1MB not supported

7. Block Size > 1MB not supported

[Max Reitz <mreitz@redhat.com> pointed out that "1MB + 1" in the test
case is wrong. Change to "1MB + 64KB" to match the 0x110000 value.
--Stefan]

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
H A D0841e7226f70c9d944ae7f233b65fb4adda8f910dfe Fri Mar 28 10:42:25 CDT 2014 Jeff Cody <jcody@redhat.com> block: vdi bounds check qemu-io tests

This test checks for proper bounds checking of some VDI input
headers. The following is checked:

1. Max image size (1024TB) with the appropriate Blocks In Image
value (0x3fffffff) is detected as valid.

2. Image size exceeding max (1024TB) is seen as invalid

3. Valid image size but with Blocks In Image value that is too
small fails

4. Blocks In Image size exceeding max (0x3fffffff) is seen as invalid

5. 64MB image, with 64 Blocks In Image, and 1MB Block Size is seen
as valid

6. Block Size < 1MB not supported

7. Block Size > 1MB not supported

[Max Reitz <mreitz@redhat.com> pointed out that "1MB + 1" in the test
case is wrong. Change to "1MB + 64KB" to match the 0x110000 value.
--Stefan]

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>