qemu-iotests: drop duplicated "create_image"
There's a same common function in iotests.py
Signed-off-by: Fam Zheng <famz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Fix 051 reference output
Commit 684b254 forgot to update it.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block: Avoid unecessary drv->bdrv_getlength() calls
The block layer generally keeps the size of an image cached inbs->total_sectors so that it doesn't have to perform expensiveoperations to get the size whenever it needs it.
This doesn't work however when using a backend that can change its size...
ahci: fix win7 hang on boot
When AHCI executes an asynchronous IDE command, it checked DRDY withoutchecking either DRQ or BSY. This sometimes caused interrupt to be sentbefore command is actually completed.
This resulted in a race condition: if guest then managed to access the...
block: Disable BDRV_O_COPY_ON_READ for the backing file
Since commit 0ebd24e0a203cf2852c310b59fbe050190dc6c8c,bdrv_open_common will throw an error when trying to open a fileread-only with the BDRV_O_COPY_ON_READ flag set.Although BDRV_O_RDWR is unset for the backing files,...
sheepdog: pass copy_policy in the request
Currently copy_policy isn't used. Recent sheepdog supports erasure coding, whichmake use of copy_policy internally, but require client explicitly passingcopy_policy from base inode to newly creately inode for snapshot related...
sheepdog: explicitly set copies as type uint8_t
'copies' is actually uint8_t since day one, but request headers and some helperfunctions parameterize it as uint32_t for unknown reasons and effectivelyreserve 24 bytes for possible future use. This patch explicitly set the correct...
block: Don't copy backing file name on error
bdrv_open_backing_file() tries to copy the backing file name usingpstrcpy directly after calling bdrv_open() to open the backing filewithout checking whether that was actually successful. If it was not,ps->backing_hd->file will probably be NULL and qemu will crash....
ide-test: Check what happens with bus mastering disabled
The main goal is that qemu doesn't crash.
tests: Multiboot mmap test case
This adds a test case for Multiboot memory map in the tests/multibootdirectory, where future i386 test kernels can be dropped. Because thisrequires an x86 build host and an installed 32 bit libgcc, the test isnot part of a regular 'make check'....
View all revisions | View revisions
Also available in: Atom