kvm: qemu: cleanup and improve kvm_load/save_registers usage
commitdcac15a76ced6febe91642b883cf3cedea9dadac
authorJan Kiszka <jan.kiszka@web.de>
Mon, 26 May 2008 22:09:41 +0000 (27 00:09 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 27 May 2008 09:46:20 +0000 (27 12:46 +0300)
tree32f4fb0c94a4e3bf43bd9f9a79e65b2873ed97b8
parentab12e13708322ca181876e1b2acd2d232ba931cc
kvm: qemu: cleanup and improve kvm_load/save_registers usage

Remove redundant checkes for kvm_enabled() on register updates between
userspace and kvm kernel driver. Ensure register update across all CPUs
on "info cpus" monitor command.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/gdbstub.c
qemu/monitor.c