2015-02-06 22:22:24 +01:00
|
|
|
--- a/tools/qemu-xen-traditional-dir-remote/hw/xen_machine_fv.c
|
|
|
|
+++ b/tools/qemu-xen-traditional-dir-remote/hw/xen_machine_fv.c
|
2014-01-02 20:09:07 +01:00
|
|
|
@@ -270,6 +270,7 @@ void qemu_invalidate_entry(uint8_t *buff
|
|
|
|
|
|
|
|
#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,
|
|
|
|
@@ -295,6 +296,11 @@ static void xen_init_fv(ram_addr_t ram_s
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-02-06 22:22:24 +01:00
|
|
|
+#if defined(CONFIG_BLKTAP1) && !defined(CONFIG_STUBDOM) && !defined(__NetBSD__)
|
2014-01-02 20:09:07 +01:00
|
|
|
+ /* 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
|