ahci: Fix ahci cdrom read corruptions for reads > 128k
While testing q35, which has its cdrom attached to the ahci controller, I foundthat the Fedora 17 install would panic on boot. The panic occurs whilesquashfs is trying to read from the cdrom. The errors are:...
ahci: Fix sglist memleak in ahci_dma_rw_buf()
I noticed that in hw/ide/ahci:ahci_dma_rw_buf() we do not free the sglist. Thus,I've added a call to qemu_sglist_destroy() to fix this memory leak.
In addition, I've adeed a call in qemu_sglist_destroy() to 0 all of the sglist...
virtio-blk: fix use-after-free while handling scsi commands
The scsi passthrough handler falls through after completing arequest into the failure path, resulting in a use after free.
Reproducible by running a guest with aio=native on a block device.
Reported-by: Stefan Priebe <s.priebe@profihost.ag>...
target-xtensa: make 'sim' to be the default machine
This fixes the following error:
$ qemu-system-xtensa -cpu help Segmentation fault
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa: make default CPU depend on target endianness
This makes usable default for -cpu option both for qemu-system-xtensaand qemu-system-xtensaeb fixing the following error:
$ qemu-system-xtensaeb -M sim Unable to find CPU definition
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>...
sparc: fix floppy TC line setup
The qemu_irq for Terminal Count (TC) line between FDC and Slavio miscdevice was created only after use, spotted by Clang compiler. Also,it was not created if the FDC didn't exist.
Rearrange code to fix order. Always create the TC line....
xilinx_axienet: avoid useless self-assignment
Statement s=s; makes little sense, remove it. Spotted by Clangcompiler.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
scsi-bus: remove overlapping entry
LOAD_UNLOAD and START_STOP have same value, so the tableentry is initialized twice. Spotted by Clang compiler.
Remove LOAD_UNLOAD entry since START_STOP entry alreadyrepresents both.
Reviewed-by: Markus Armbruster <armbru@redhat.com>...
esp: add Tekram DC-390 emulation (PC SCSI adapter)
Difference with AMD PCscsi is that DC-390 contains a EEPROM,and that a romfile is available to add INT13 support.
This has been successfully tested on:- MS DOS 6.22 (using DC390 ASPI driver)- MS Windows 98 SE (using DC390 driver)...
Revert "pci: add some stubs"
This reverts commit 0883c5159f1df05d8761014f65451c3c3b77ebcf.
Those stubs were only used by PCI ESP emulation, which is nownot compiled on architectures which have no PCI bus support.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>...
View revisions
Also available in: Atom