ioemu: Fix build when pciutils-dev is not installed
PATCH 1/1 ioemu: Fix build when pciutils-dev is not installed
Missing an #ifdef CONFIG_PASSTHROUGH in vl.c
Signed-of-by George Dunlap <[email protected]>
vl.c +2 -0
@@ -5894,12 +5894,14 @@ int main(int argc, char **argv, char **envp) } } +#ifdef CONFIG_PASSTHROUGH for (i =0 ; i < nb_pci_emulation; i++) {if (pci_emulation_add (pci_emulation_config_text[i]) <0 ) {fprintf (stderr,"Warning: could not add PCI device %s\n" , pci_emulation_config_text[i]); } } +#endif if (strlen (direct_pci_str) >0 ) direct_pci = direct_pci_str;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel