[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Question: can we hot plug a PCIe switch on machine "virt"
From: |
Heyi Guo |
Subject: |
[Qemu-devel] Question: can we hot plug a PCIe switch on machine "virt" |
Date: |
Wed, 3 Apr 2019 15:32:09 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
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
- [Qemu-devel] Question: can we hot plug a PCIe switch on machine "virt",
Heyi Guo <=