pci_irq_levels[] belong to PIIX3State
With previous cleanups, now it is possible to put it where it belongs
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Update SaveVM versions
Now that we have all fields belonging to a PCIDevice, save each fieldon the device that it belongs. This means moving pci_irq_levelsfrom PCII440FXState to PIIX3State.Old formats are loaded, but we only save on the new saner format....
Create PIIX3State instead of using PCIDevice for PIIX3
Introduce PIIX3IrqState for piix3 irq's state
Fold piix3_init() intto i440fx_init
i440fx_init will now work properly if we don't setup piix3
We can add piix3_dev now to PIIX3IrqState
Save irq_state into PCII440FXState
Use PCII440FXState instead of generic PCIDevice
Move smm_enabled and isa_memory_mappings to PCII440FXState
We want the argument pass to set_irq to be opaque
piix_pci want to pass more things that the pic
View all revisions | View revisions
Also available in: Atom