This reset issue was reported on the QEMU issue tracker at https://gitlab.com/qemu-project/qemu/-/issues/766
A reset with QEMU -machine q35 -accel tcg leads to a reset loop and with -machine q35 -accel kvm the reset only works because KVM ignores the read-only semantics of the C-F segments.
Details about the issue are in "reset: force standard PCI configuration access".
v2: The commit message of patch "reset: force standard PCI config- uration access" now uses the correct PCI configuration register name PCIEXBAR.
v3: Removes the unnecessary pci_disable_mmconfig() function calls and the function itself. [Kevin]
Volker Rümelin (2): pci: refactor the pci_config_*() functions reset: force standard PCI configuration access
src/fw/shadow.c | 14 ++++----- src/hw/pci.c | 81 +++++++++++++++++++++++++++++++++++++++++-------- src/hw/pci.h | 18 ++++++++++- 3 files changed, 93 insertions(+), 20 deletions(-)