summary refs log tree commit diff stats
path: root/hw/usb/host-libusb.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-04-24 11:26:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-16 20:00:20 +0200
commit02dae26ac4ceb1e82c432cfca4d9b65ae82343c6 (patch)
treee3bacac2e04b5f8ed722ebb86404cf95e7155e1d /hw/usb/host-libusb.c
parentf8b3e48b2d269551cd40f94770dc20da2f402325 (diff)
downloadfocaccia-qemu-02dae26ac4ceb1e82c432cfca4d9b65ae82343c6.tar.gz
focaccia-qemu-02dae26ac4ceb1e82c432cfca4d9b65ae82343c6.zip
mips/kvm: Sign extend registers written to KVM
In case we're running on a 64-bit host, be sure to sign extend the
general purpose registers and hi/lo/pc before writing them to KVM, so as
to take advantage of MIPS32/MIPS64 compatibility.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: kvm@vger.kernel.org
Cc: qemu-stable@nongnu.org
Message-Id: <1429871214-23514-3-git-send-email-james.hogan@imgtec.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb/host-libusb.c')
0 files changed, 0 insertions, 0 deletions