Julia Suvorova 530a096318 pcie_root_port: Add hotplug disabling option
Make hot-plug/hot-unplug on PCIe Root Ports optional to allow libvirt
manage it and restrict unplug for the whole machine. This is going to
prevent user-initiated unplug in guests (Windows mostly).
Hotplug is enabled by default.
Usage:
    -device pcie-root-port,hotplug=off,...

If you want to disable hot-unplug on some downstream ports of one
switch, disable hot-unplug on PCIe Root Port connected to the upstream
port as well as on the selected downstream ports.

Discussion related:
    https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg00530.html

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20200226174607.205941-1-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2020-03-08 09:18:29 -04:00
..
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-06-12 13:20:21 +02:00
2019-09-07 08:31:51 +02:00
2020-02-21 09:15:04 +11:00
2019-08-16 13:31:52 +02:00
2020-02-19 16:49:54 +00:00
2019-10-28 19:06:47 +01:00
2019-06-12 13:20:21 +02:00
2020-02-10 12:01:37 -08:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2018-12-11 15:45:22 -02:00
2019-08-16 13:31:52 +02:00
2019-11-05 23:33:12 +01:00
2019-08-16 13:31:53 +02:00
2019-06-12 13:20:21 +02:00
2020-01-07 16:06:59 +04:00
2019-08-16 13:31:53 +02:00