Re: [PATCH 5/5] hw/vfio/pci: Re-order pre-reset

2025-02-24 Thread Eric Auger
On 2/20/25 11:48 PM, Alex Williamson wrote: > We want the device in the D0 power state going into reset, but the > config write can enable the BARs in the address space, which are > then removed from the address space once we clear the memory enable > bit in the command register. Re-order to c

[PATCH 5/5] hw/vfio/pci: Re-order pre-reset

2025-02-20 Thread Alex Williamson
We want the device in the D0 power state going into reset, but the config write can enable the BARs in the address space, which are then removed from the address space once we clear the memory enable bit in the command register. Re-order to clear the command bit first, so the power state change do