| Submitter | Yoshiaki Tamura |
|---|---|
| Date | May 25, 2010, 8:36 a.m. |
| Message ID | <1274776624-16435-19-git-send-email-tamura.yoshiaki@lab.ntt.co.jp> |
| Download | mbox | patch |
| Permalink | /patch/53517/ |
| State | New |
| Headers | show |
Comments
Patch
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;
Skip assert(!cpu_single_env) in resume_all_threads() when event_tap_state weren't EVENT_TAP_OFF. Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> --- qemu-kvm.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)