X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_config.c;h=631fe5cabfc64ed46d3063239cd71b780a1b55de;hb=a6225e5c3b1d99f331f123de87e5f677f402e413;hp=9c8d73ae1fe29b004c50bd0f99eb363ffeff501e;hpb=b35cb9f7d22a06d849820c8d4487c66f74ec42e2;p=palacios.git diff --git a/palacios/src/palacios/vmm_config.c b/palacios/src/palacios/vmm_config.c index 9c8d73a..631fe5c 100644 --- a/palacios/src/palacios/vmm_config.c +++ b/palacios/src/palacios/vmm_config.c @@ -279,7 +279,9 @@ static int setup_memory_map(struct guest_info * info, struct v3_vm_config * conf static int setup_devices(struct guest_info * info, struct v3_vm_config * config_ptr) { struct vm_device * ramdisk = NULL; struct vm_device * cdrom = NULL; +#ifdef DEBUG_PCI struct vm_device * pci = v3_create_pci(); +#endif struct vm_device * nvram = v3_create_nvram(); //struct vm_device * timer = v3_create_timer(); struct vm_device * pic = v3_create_pic(); @@ -309,7 +311,9 @@ static int setup_devices(struct guest_info * info, struct v3_vm_config * config_ generic = configure_generic(info, config_ptr); } +#ifdef DEBUG_PCI v3_attach_device(info, pci); +#endif v3_attach_device(info, nvram); //v3_attach_device(info, timer);