From: Jan Kiszka <[email protected]>

This fixes the recently reported gdbstub regression of qemu-kvm.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 98c7cd7..bc3d7db 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -606,13 +606,11 @@ int kvm_main_loop(void)
             qemu_system_powerdown();
         else if (qemu_reset_requested())
            qemu_kvm_system_reset();
-#ifdef CONFIG_GDBSTUB
        else if (kvm_debug_cpu_requested) {
            gdb_set_stop_cpu(kvm_debug_cpu_requested);
            vm_stop(EXCP_DEBUG);
            kvm_debug_cpu_requested = NULL;
        }
-#endif
     }
 
     pause_all_threads();
--
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