qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Question: can we hot plug a PCIe switch on machine "vir


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] Question: can we hot plug a PCIe switch on machine "virt"
Date: Wed, 3 Apr 2019 14:50:27 -0400

On Wed, Apr 03, 2019 at 03:32:09PM +0800, Heyi Guo wrote:
> Hi folks,
> 
> In physical world, a PCIe switch including one upstream port and several 
> downstream ports is a single physical device, however we treat each port as a 
> device in qemu world. In qemu docs/pcie.txt, we have below statements:
> 
> Line 230: Be aware that PCI Express Downstream Ports can't be hot-plugged into
> Line 231: an existing PCI Express Upstream Port.
> 
> To my understanding, it implies PCIe downstream ports *can* be hot-plugged 
> into something which is not an existing upstream port. If it is true, how can 
> we do that? AFAIK monitor command device_add can only add one device at a 
> time.
> 
> Please help to show the truth.
> 
> Thanks,
> 
> Heyi
> 

afaik they can only be plugged into upstearm ports with or without hotplug.

-- 
mst




reply via email to

[Prev in Thread] Current Thread [Next in Thread]