summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-12-12 10:16:16 +0100
committerMichael S. Tsirkin2019-01-15 01:31:04 +0100
commitb9731850d746e528d317097f907f27116798d7fe (patch)
treea040d7485f4ba35dc03b5de0a9378f1cd25e5a21 /scripts
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' in... (diff)
downloadqemu-b9731850d746e528d317097f907f27116798d7fe.tar.gz
qemu-b9731850d746e528d317097f907f27116798d7fe.tar.xz
qemu-b9731850d746e528d317097f907f27116798d7fe.zip
pci/pcie: stop plug/unplug if the slot is locked
We better stop right away. For now, errors would be partially ignored (so the guest might get informed or the device might get unplugged), although actual plug/unplug will be reported as failed to the user. While at it, properly move the check to the pre_plug handler for the plug case, as we can test the slot state before the device will be realized. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions