OSDN Git Service

pci: mark device having guest unplug request pending
authorJens Freimann <jfreimann@redhat.com>
Tue, 29 Oct 2019 11:48:58 +0000 (12:48 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 29 Oct 2019 22:55:26 +0000 (18:55 -0400)
commitc000a9bd06ea79ea5c2c1f894a47410be48c0cc1
treedd7074c97bef984937b4e6e94669bda5a9fdb970
parenta99c4da9fc2a39847cfebbc0c6802ee122dcca39
pci: mark device having guest unplug request pending

Set pending_deleted_event in DeviceState for failover
primary devices that were successfully unplugged by the Guest OS.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <20191029114905.6856-5-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c