Call event_tap_replay() at vm_start() to replay the last ioport/mmio
event upon failover.

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

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();
     }
 }
 
-- 
1.7.0.31.g1df487


Reply via email to