Patchwork [RFC,18/23] Call event_tap_replay() at vm_start().

login
register
mail settings
Submitter Yoshiaki Tamura
Date May 25, 2010, 8:36 a.m.
Message ID <1274776624-16435-20-git-send-email-tamura.yoshiaki@lab.ntt.co.jp>
Download mbox | patch
Permalink /patch/53513/
State New
Headers show

Comments

Yoshiaki Tamura - May 25, 2010, 8:36 a.m.
Call event_tap_replay() at vm_start() to replay the last ioport/mmio
event upon failover.

Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
---
 vl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/vl.c b/vl.c
index 56d12c7..762440d 100644
--- a/vl.c
+++ b/vl.c
@@ -3094,6 +3094,7 @@  void vm_start(void)
         vm_state_notify(1, 0);
         qemu_rearm_alarm_timer(alarm_timer);
         resume_all_vcpus();
+        event_tap_replay();
     }
 }