scsi-disk: fix the mode data length field returned by the MODE SENSE command
The MODE DATA LENGTH field indicates the length in bytes of the followingdata that is available to be transferred. The mode data length does not includethe number of bytes in the MODE DATA LENGTH field....
virtio-blk: Fix migration of queued requests
in_sg[].iovec and out_sg[].ioved are pointer to (source) host memory andtherefore invalid after migration. When loading the device state we mustcreate a new mapping on the destination host.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
virtio: Factor virtqueue_map_sg out
Separate the mapping of requests to host memory from the descriptor iteration.The next patch will make use of it in a different context.
isapc: fix segfault.
https://bugs.launchpad.net/bugs/611646reports that ./i386-softmmu/qemu -M isapc segfaults.This patch fixes the segfault introduced byf885f1eaa8711c06033ceb1599e3750fb37c306f
It's because i440fx_state in pc_init1() isn't initialized....
etraxfs_eth: correct use of ! and &
Combining bitwise AND and logical NOT is suspicious.
Fixed by this Coccinelle script:// From http://article.gmane.org/gmane.linux.kernel/646367@ expression E1,E2; @( !E1 & !E2 |- !E1 & E2+ !(E1 & E2))
@ expression E1,E2;
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>...
ppc4xx: correct SDRAM controller warning message condition
The message "Truncating memory to %d MiB to fit SDRAM controller limits" should be displayed only when a user chooses an amount of RAM whichcan't be represented by the PPC 4xx SDRAM controller (e.g. 129MB, which...
ppc4xx: don't unregister RAM at reset
The PowerPC 4xx SDRAM controller emulation unregisters RAM in its resetcallback. However, qemu_system_reset() is now called at initializationtime, so all RAM is unregistered before starting the guest (!).
Signed-off-by: Hollis Blanchard <hollis@penguinppc.org>
ppc4xx: load Bamboo kernel, initrd, and fdt at fixed addresses
We can't use the return value of load_uimage() for the kernel because itcan't account for BSS size, and the PowerPC kernel does not relocateblobs before zeroing BSS.
Instead, we now load at the fixed addresses chosen by u-boot (the normal...
PPC: Add PV hypercall transport through fw_cfg
On KVM for PPC we need to tell the guest which instructions to use whendoing a hypercall. The clean way to do this is to go through an ioctlfrom userspace and passing it on to the guest using the device tree....
Rearrange block headers
Changing block.h or blockdev.h resulted in recompiling most objects.
Move DriveInfo typedef and BlockInterfaceType enum definitionsto qemu-common.h and rearrange blockdev.h use to decrease churn.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View revisions
Also available in: Atom