Patchwork [RFC,14/23] Call init handler of event-tap at main().

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

Comments

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

Patch

diff --git a/vl.c b/vl.c
index 70a8aed..56d12c7 100644
--- a/vl.c
+++ b/vl.c
@@ -169,6 +169,8 @@  int main(int argc, char **argv)
 
 #include "qemu-queue.h"
 
+#include "event-tap.h"
+
 //#define DEBUG_NET
 //#define DEBUG_SLIRP
 
@@ -5949,6 +5951,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);