Skip to contentSkip to conversation

add a fake pci device for event channel in device model

PATCH New Xiaofeng Ling 1 participant 1 message Sep 5, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add a fake pci device for event channel in device model

This patch adds a fake pci device for event channel in device model The device will be used by para-driver support in unmodified guest.

tools/ioemu/hw/pc.c Fri Sep 2 22:46:40 2005 renamed from tools/ioemu/hw/pc.c Tue Aug 30 20:36:49 2005 +1 -0
diff -r 287d36b46fa3 tools/ioemu/hw/pc.c
@@ -546,6 +546,7 @@
                 pci_ne2000_init(pci_bus, &nd_table[i]);
         }
         pci_piix3_ide_init(pci_bus, bs_table);
+        pci_xen_evtchn_init(pci_bus);
 #ifdef APIC_SUPPORT
         IOAPICInit();
 #endif
tools/ioemu/target-i386-dm/Makefile Fri Sep 2 22:46:40 2005 renamed from tools/ioemu/target-i386-dm/Makefile Tue Aug 30 20:36:49 2005 +1 -1
diff -r 287d36b46fa3 tools/ioemu/target-i386-dm/Makefile
@@ -270,7 +270,7 @@
 endif
 
 # Hardware support
-VL_OBJS+= ide.o ne2000.o pckbd.o vga.o dma.o
+VL_OBJS+= ide.o ne2000.o pckbd.o vga.o dma.o xen_evtchn.o
 VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o port-e9.o
 VL_OBJS+= cirrus_vga.o pcnet.o
 
tools/ioemu/hw/xen_evtchn.c Fri Sep 2 22:46:40 2005 renamed from dev/null Tue Aug 30 20:36:49 2005 +145 -0

145 lines not on this page · raw message