]> xenbits.xensource.com Git - qemu-xen.git/commit
pci: do not respond config requests after PCI device eject
authorYuri Benditovich <yuri.benditovich@daynix.com>
Fri, 28 Jul 2023 08:40:49 +0000 (11:40 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 4 Aug 2023 16:14:46 +0000 (19:14 +0300)
commit715e8123ed62f9cd505708c5d9911db358ecf2d4
treed71d1a8d77eda4d0870377f3af2b12b87a6f7949
parent868b90e44ad8a78c54db051b60a551e781f4e45d
pci: do not respond config requests after PCI device eject

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2224964
In migration with VF failover, Windows guest and ACPI hot
unplug we do not need to satisfy config requests, otherwise
the guest immediately detects the device and brings up its
driver. Many network VF's are stuck on the guest PCI bus after
the migration.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Message-Id: <20230728084049.191454-1-yuri.benditovich@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 348e354417b64c484877354ee7cc66f29fa6c7df)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/pci/pci_host.c