#endif /*QEMU_XEN_H*/
diff --git a/switcher.c b/switcher.c
new file mode 100644
-index 0000000..f494229
+index 0000000..bca96f0
--- /dev/null
+++ b/switcher.c
-@@ -0,0 +1,271 @@
+@@ -0,0 +1,267 @@
+/*
+ * QEMU dom0_driver
+ *
+ switcher_connected = 1;
+out:
+ if (!switcher_timer)
-+ {
-+ fprintf(stderr, "switcher: new timer\n");
+ switcher_timer = qemu_new_timer(rt_clock, switcher_connect, NULL);
-+ }
-+ fprintf(stderr, "switcher: Setup the timer\n");
+ qemu_mod_timer(switcher_timer, qemu_get_clock(rt_clock) + 1000);
+}
+