mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00

Granularity is used to calculate the cluster size and allocate r/w buffer. Check the value from image before using it, so we don't abort() for unbounded memory allocation. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
8 lines
243 B
Text
8 lines
243 B
Text
QA output created by 059
|
|
=== Testing invalid granularity ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
invalid granularity, image may be corrupt
|
|
qemu-io: can't open device TEST_DIR/t.vmdk
|
|
no file open, try 'help open'
|
|
*** done
|