File ioemu-blktap-fv-init.patch of Package xen

Index: xen-3.3.1-testing/tools/ioemu-remote/hw/xen_machine_fv.c
===================================================================
--- xen-3.3.1-testing.orig/tools/ioemu-remote/hw/xen_machine_fv.c
+++ xen-3.3.1-testing/tools/ioemu-remote/hw/xen_machine_fv.c
@@ -185,6 +185,7 @@ void qemu_invalidate_map_cache(void)
 
 #endif /* defined(MAPCACHE) */
 
+extern void init_blktap(void);
 
 static void xen_init_fv(ram_addr_t ram_size, int vga_ram_size,
 			const char *boot_device, DisplayState *ds,
@@ -210,6 +211,11 @@ static void xen_init_fv(ram_addr_t ram_s
     }
 #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
openSUSE Build Service is sponsored by