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

Yoshiaki Tamura
2011-01-28T07:27:46Z

vl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/vl.c b/vl.c
index 8bbb785..9faeb27 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"

@@ -2895,6 +2896,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);
--
1.7.1.2