[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling PCI "hot-unplug" for a guest (and/or a single PCI device)
From: |
Julia Suvorova |
Subject: |
Re: Disabling PCI "hot-unplug" for a guest (and/or a single PCI device) |
Date: |
Tue, 4 Feb 2020 17:13:54 +0100 |
On Tue, Feb 4, 2020 at 11:26 AM Michael S. Tsirkin <address@hidden> wrote:
>
> On Mon, Feb 03, 2020 at 05:19:51PM -0500, Laine Stump wrote:
> > 3) qemu could add a "hotpluggable=no" commandline option to all PCI devices
> > (including vfio-pci) and then do whatever is necessary to make sure this is
> > honored in the emulated hardware (is it possible to set this on a per-slot
> > basis in a PCI controller? Or must it be done for an entire controller?
>
> I think it's possible on a per-slot basis, yes.
There's a "Hot-Plug Capable" option in Slot Capability register, so we
can switch it off. But it's only for pcie devices, can't say anything
about conventional pci.
Best regards, Julia Suvorova.
Re: Disabling PCI "hot-unplug" for a guest (and/or a single PCI device), Daniel P . Berrangé, 2020/02/04