Skip to contentSkip to conversation

stubdom: disable xen_blktap

PATCH New Samuel Thibault 1 participant 1 message Mar 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stubdom: disable xen_blktap

stubdom: disable xen_blktap

tools/ioemu/Makefile.target +2 -0
diff -r ddb74b9590c6 tools/ioemu/Makefile.target
@@ -430,7 +430,9 @@ VL_OBJS+= usb-uhci.o smbus_eeprom.o
 VL_OBJS+= usb-uhci.o smbus_eeprom.o
 VL_OBJS+= piix4acpi.o
 VL_OBJS+= xenstore.o
+ifndef CONFIG_STUBDOM
 VL_OBJS+= xen_blktap.o
+endif
 VL_OBJS+= xen_platform.o
 VL_OBJS+= xen_machine_fv.o
 VL_OBJS+= xen_machine_pv.o
tools/ioemu/hw/xen_machine_pv.c +2 -0
diff -r ddb74b9590c6 tools/ioemu/hw/xen_machine_pv.c
@@ -45,8 +45,10 @@ static void xen_init_pv(uint64_t ram_siz
     extern int domid;
 
 
+#ifndef CONFIG_STUBDOM
     /* Initialize tapdisk client */
     init_blktap();
+#endif
 
     /* Connect to text console */
     if (serial_hds[0]) {