From: "Ján Tomko" <jtomko@redhat.com>
To: Julia Suvorova <jusual@redhat.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
qemu-devel@nongnu.org, "Laine Stump" <laine@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>
Subject: Re: [PATCH v3] pcie_root_port: Add hotplug disabling option
Date: Thu, 27 Feb 2020 09:15:28 +0100 [thread overview]
Message-ID: <20200227081528.GA2262365@lpt> (raw)
In-Reply-To: <20200226174607.205941-1-jusual@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1572 bytes --]
On a Wednesday in 2020, 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-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>
>---
>v1: https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg04868.html
>
>v2: https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg05192.html
> * change name of the option to 'enable-hotplug' [Laine]
> * change order of enabling capability bits [Igor]
> * enable HPS bit [Igor]
> * add option to xio3130_downstream [Ján]
>
>v3:
> * change name of the option to 'hotplug'. Naming is hard! [Laine]
> * move property under TYPE_PCIE_SLOT [Michael]
>
> hw/pci-bridge/pcie_root_port.c | 2 +-
> hw/pci-bridge/xio3130_downstream.c | 2 +-
> hw/pci/pcie.c | 11 +++++++----
> hw/pci/pcie_port.c | 1 +
> include/hw/pci/pcie.h | 2 +-
> include/hw/pci/pcie_port.h | 3 +++
> 6 files changed, 14 insertions(+), 7 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Jano
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2020-02-27 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 17:46 [PATCH v3] pcie_root_port: Add hotplug disabling option Julia Suvorova
2020-02-27 8:15 ` Ján Tomko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200227081528.GA2262365@lpt \
--to=jtomko@redhat.com \
--cc=berrange@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=jusual@redhat.com \
--cc=laine@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).