Re: [PATCH v2] pcie_root_port: Add enable_hotplug option

2020-02-25 Thread Michael S. Tsirkin
On Wed, Feb 19, 2020 at 03:55:40PM +0100, Julia Suvorova wrote: > 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

Re: [PATCH v2] pcie_root_port: Add enable_hotplug option

2020-02-19 Thread Laine Stump
On 2/19/20 9:55 AM, Julia Suvorova wrote: 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-r

Re: [PATCH v2] pcie_root_port: Add enable_hotplug option

2020-02-19 Thread Igor Mammedov
On Wed, 19 Feb 2020 15:55:40 +0100 Julia Suvorova wrote: > 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. > U

Re: [PATCH v2] pcie_root_port: Add enable_hotplug option

2020-02-19 Thread Ján Tomko
On Wed, Feb 19, 2020 at 03:55:40PM +0100, Julia Suvorova wrote: 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. Usag

[PATCH v2] pcie_root_port: Add enable_hotplug option

2020-02-19 Thread Julia Suvorova
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,enable-hotplug=false,... If you wan