On Thu, Dec 03, 2015 at 05:35:03PM +0200, Marcel Apfelbaum wrote: > On 12/03/2015 12:22 AM, Eduardo Habkost wrote: > >This will allow us to avoid direct references to piix and q35 in > >acpi-build.c. > > > >Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> [...] > >diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h > >index 6ff4721..8b184c1 100644 > >--- a/include/hw/i386/pc.h > >+++ b/include/hw/i386/pc.h > >@@ -38,6 +38,7 @@ struct PCMachineState { > > OnOffAuto vmport; > > OnOffAuto smm; > > ram_addr_t below_4g_mem_size, above_4g_mem_size; > >+ PCIHostState *pci_host; > > Having both pci_host and bus as class fields is not needed. > If you have the host, maybe you can get rid of the bus.
Yes, I will send that as folllow-up. -- Eduardo