History | View | Annotate | Download (14.3 kB)
scsi-generic: fix sign extension of READ CAPACITY data
Issuing the READ CAPACITY command in the guest will cause QEMUto update its knowledge of the maximum accessible LBA in the disk.The recorded maximum LBA will be wrong if the disk is bigger than...
scsi-generic: check the return value of bdrv_aio_ioctl in execute_command
This fixes the bug introduced by this commit ad54ae80c73f.The bdrv_aio_ioctl() still could return null and we should return an errorin that case.
Cc: qemu-stable@nongnu.orgSigned-off-by: Pavel Hrdina <phrdina@redhat.com>...
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>