Message ID | 1274776624-16435-19-git-send-email-tamura.yoshiaki@lab.ntt.co.jp (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/qemu-kvm.c b/qemu-kvm.c index 1414f49..e28bf59 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -18,6 +18,7 @@ #include "compatfd.h" #include "gdbstub.h" #include "monitor.h" +#include "event-tap.h" #include "qemu-kvm.h" #include "libkvm.h" @@ -1770,7 +1771,8 @@ static void resume_all_threads(void) { CPUState *penv = first_cpu; - assert(!cpu_single_env); + if (event_tap_get_state() == EVENT_TAP_OFF) + assert(!cpu_single_env); while (penv) { penv->stop = 0;