vhost: memory sync fixes
This fixes two bugs related to memory sync duringmigration: - ram address calculation was missing the chunk address, so the wrong page was dirtied - one after last was used instead of the end address of a region, which might overflow to 0...
Merge remote-tracking branch 'kwolf/for-anthony' into staging
grlib-apbuart: Add support of various flags
- enable/disable Rx and Tx - Rx and Tx interrupt - Tx FIFO empty and Tx SHIFT empty
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Typo: replace gptimer by apbuart
xhci: fix bad print specifier
This fixes the following compilation error:hw/usb/hcd-xhci.c:1156:17: error: format ‘%llx’ expects argument of type‘long long unsigned int’, but argument 4 has type ‘unsigned int’
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>...
pc: add compatibility machine types for 1.4
Adds both pc-i440fx-1.4 and pc-q35-1.4.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev: enable discard by default
Because discard is now a host parameter, we can always fake it as enabledin the guest. This is an extension of the current choice to ignore"not supported" errors from the host when discard_granularity is setto nonzero....
unbreak hw/usb/redirect.c build
Commit 8550a02d1239415342959f6a32d178bc05c557cc added a streamsparameter to usb_wakeup and didn't update redirect.c. Fix it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vga: fix byteswapping.
In case host and guest endianness differ the vga code first createsa shared surface (using qemu_create_displaysurface_from), then goespatch the surface format to indicate that the bytes must be swapped.
The switch to pixman broke that hack as the format patching isn't...
Merge remote-tracking branch 'kraxel/usb.78' into staging
View revisions
Also available in: Atom