X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpci.c;h=04007518e05adc2be9836df57b2d41bb67466080;hb=b21326f1dd2bcd45a3067169e0a328316312b3f1;hp=1f4976b9438e4326b6f2686d2994e04c618ac6e7;hpb=e3cd4f1c180c7a59177c7108c495a2e27af9db10;p=palacios.git diff --git a/palacios/src/devices/pci.c b/palacios/src/devices/pci.c index 1f4976b..0400751 100644 --- a/palacios/src/devices/pci.c +++ b/palacios/src/devices/pci.c @@ -37,7 +37,7 @@ -#ifndef CONFIG_DEBUG_PCI +#ifndef V3_CONFIG_DEBUG_PCI #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -104,7 +104,7 @@ struct pci_internal { -#ifdef CONFIG_DEBUG_PCI +#ifdef V3_CONFIG_DEBUG_PCI static void pci_dump_state(struct pci_internal * pci_state) { struct rb_node * node = v3_rb_first(&(pci_state->bus_list[0].devices)); @@ -922,7 +922,7 @@ struct pci_device * v3_pci_register_device(struct vm_device * pci, // add the device add_device_to_bus(bus, pci_dev); -#ifdef CONFIG_DEBUG_PCI +#ifdef V3_CONFIG_DEBUG_PCI pci_dump_state(pci_state); #endif @@ -990,7 +990,7 @@ struct pci_device * v3_pci_register_passthrough_device(struct vm_device * pci, // add the device add_device_to_bus(bus, pci_dev); -#ifdef CONFIG_DEBUG_PCI +#ifdef V3_CONFIG_DEBUG_PCI pci_dump_state(pci_state); #endif