Re: [PATCH v3 2/2] hw/pci-host: save/restore pci host config register for old ones

2020-07-26 Thread Michael S. Tsirkin
On Sat, Jul 25, 2020 at 08:54:37PM +0800, Hogan Wang wrote: > The i440fx and q35 machines integrate i440FX or MCH PCI device by default. > Refer to i440FX and ICH9-LPC spcifications, there are some reserved > configuration registers can used to save/restore PCIHostState.config_reg. > It's nasty but

[PATCH v3 2/2] hw/pci-host: save/restore pci host config register for old ones

2020-07-25 Thread Hogan Wang
The i440fx and q35 machines integrate i440FX or MCH PCI device by default. Refer to i440FX and ICH9-LPC spcifications, there are some reserved configuration registers can used to save/restore PCIHostState.config_reg. It's nasty but friendly to old ones. Signed-off-by: Hogan Wang --- hw/pci-host/