]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci: mark devices partially unplugged
authorJens Freimann <jfreimann@redhat.com>
Tue, 29 Oct 2019 11:48:57 +0000 (12:48 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 29 Oct 2019 22:55:26 +0000 (18:55 -0400)
commita99c4da9fc2a39847cfebbc0c6802ee122dcca39
tree5e1653b62c77ef5ee261635c7a0b587acebd9cff
parent4f5b6a05a4e76892d8d03838a36aca735e9bcefb
pci: mark devices partially unplugged

Only the guest unplug request was triggered. This is needed for
the failover feature. In case of a failed migration we need to
plug the device back to the guest.

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