From: Marcelo Tosatti <[email protected]>

kvm-userspace does not execute this path since July 2007.

Signed-off-by: Marcelo Tosatti <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/qemu/vl.c b/qemu/vl.c
index 8aa9ebc..9e02a43 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -3949,8 +3949,6 @@ static int main_loop(void)
             if (reset_requested) {
                 reset_requested = 0;
                 qemu_system_reset();
-               if (kvm_enabled())
-                       kvm_load_registers(env);
                 ret = EXCP_INTERRUPT;
             }
             if (powerdown_requested) {
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to