2010-09-28 00:07:21 +02:00
|
|
|
Index: xen-4.0.1-testing/tools/ioemu-qemu-xen/hw/xen_machine_fv.c
|
2009-02-09 02:49:08 +01:00
|
|
|
===================================================================
|
2010-09-28 00:07:21 +02:00
|
|
|
--- xen-4.0.1-testing.orig/tools/ioemu-qemu-xen/hw/xen_machine_fv.c
|
|
|
|
+++ xen-4.0.1-testing/tools/ioemu-qemu-xen/hw/xen_machine_fv.c
|
2010-01-16 01:12:54 +01:00
|
|
|
@@ -268,6 +268,7 @@ void qemu_invalidate_entry(uint8_t *buff
|
2009-02-09 02:49:08 +01:00
|
|
|
|
|
|
|
#endif /* defined(MAPCACHE) */
|
|
|
|
|
|
|
|
+extern void init_blktap(void);
|
|
|
|
|
|
|
|
static void xen_init_fv(ram_addr_t ram_size, int vga_ram_size,
|
2009-05-04 18:38:09 +02:00
|
|
|
const char *boot_device,
|
2010-01-16 01:12:54 +01:00
|
|
|
@@ -293,6 +294,11 @@ static void xen_init_fv(ram_addr_t ram_s
|
2009-02-09 02:49:08 +01:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifndef CONFIG_STUBDOM
|
|
|
|
+ /* Initialize tapdisk client */
|
|
|
|
+ init_blktap();
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#ifdef CONFIG_STUBDOM /* the hvmop is not supported on older hypervisors */
|
|
|
|
xc_set_hvm_param(xc_handle, domid, HVM_PARAM_DM_DOMAIN, DOMID_SELF);
|
|
|
|
#endif
|