Patchwork [10/19] Call init handler of event-tap at main() in vl.c.

login
register
mail settings
Submitter Yoshiaki Tamura
Date Dec. 27, 2010, 8:25 a.m.
Message ID <1293438337-21377-11-git-send-email-tamura.yoshiaki@lab.ntt.co.jp>
Download mbox | patch
Permalink /patch/76774/
State New
Headers show

Comments

Yoshiaki Tamura - Dec. 27, 2010, 8:25 a.m.
Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
---
 vl.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/vl.c b/vl.c
index f3b4a5b..c79d614 100644
--- a/vl.c
+++ b/vl.c
@@ -162,6 +162,7 @@  int main(int argc, char **argv)
 #include "qemu-queue.h"
 #include "cpus.h"
 #include "arch_init.h"
+#include "event-tap.h"
 
 #include "ui/qemu-spice.h"
 
@@ -2893,6 +2894,8 @@  int main(int argc, char **argv, char **envp)
 
     blk_mig_init();
 
+    event_tap_init();
+
     if (default_cdrom) {
         /* we always create the cdrom drive, even if no disk is there */
         drive_add(NULL, CDROM_ALIAS);