Re: [PATCH 1/5] pci: Switch bus reset to 3-phase-reset

2024-01-30 Thread Zhao Liu
On Fri, Jan 19, 2024 at 04:35:08PM +, Peter Maydell wrote: > Date: Fri, 19 Jan 2024 16:35:08 + > From: Peter Maydell > Subject: [PATCH 1/5] pci: Switch bus reset to 3-phase-reset > X-Mailer: git-send-email 2.34.1 > > Switch the PCI bus from using BusClass::reset

[PATCH 1/5] pci: Switch bus reset to 3-phase-reset

2024-01-19 Thread Peter Maydell
Switch the PCI bus from using BusClass::reset to the Resettable interface. This has no behavioural change, because the BusClass code to support subclasses that use the legacy BusClass::reset will call that method in the hold phase of 3-phase reset. Signed-off-by: Peter Maydell --- hw/pci/pci.c