* [Qemu-devel] About virtio device hotplug in Q35!
@ 2017-07-24 1:47 Zhong Yang
2017-07-24 5:05 ` Marcel Apfelbaum
0 siblings, 1 reply; 3+ messages in thread
From: Zhong Yang @ 2017-07-24 1:47 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, marcel, yang.zhong
Hello all,
When we did virtio device hotplug in Q35 platform, which always failed in hotplug.
Would you please tell me how to configure VM to make virtio device hotplug work in Q35 platform? Many thanks!
Regards,
Yang zhong
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] About virtio device hotplug in Q35!
2017-07-24 1:47 [Qemu-devel] About virtio device hotplug in Q35! Zhong Yang
@ 2017-07-24 5:05 ` Marcel Apfelbaum
2017-07-24 11:26 ` Zhong Yang
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Apfelbaum @ 2017-07-24 5:05 UTC (permalink / raw)
To: Zhong Yang, qemu-devel; +Cc: pbonzini
On 24/07/2017 4:47, Zhong Yang wrote:
> Hello all,
>
Hi,
> When we did virtio device hotplug in Q35 platform, which always failed in hotplug.
>
Can we please see the QEMU command line and the description
of the hotplug steps?
> Would you please tell me how to configure VM to make virtio device hotplug work in Q35 platform? Many thanks!
>
The virtio devices can be hot-plugged into PCIe Root Ports:
HMP example:
Start the VM with several PCIe Root Ports:
<qemu-bin> -M q35 -monitor stdio \
-device pcie-root-port,id=rp1 \
-device pcie-root port,id=rp2 \
...
Then from QEMU's hmp:
device-add virtio-net-pci,id=n1,bus=rp1
...
I hope it helps,
Marcel
>
> Regards,
>
> Yang zhong
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Qemu-devel] About virtio device hotplug in Q35!
2017-07-24 5:05 ` Marcel Apfelbaum
@ 2017-07-24 11:26 ` Zhong Yang
0 siblings, 0 replies; 3+ messages in thread
From: Zhong Yang @ 2017-07-24 11:26 UTC (permalink / raw)
To: Marcel Apfelbaum; +Cc: qemu-devel, pbonzini, anthony.xu
On Mon, Jul 24, 2017 at 08:05:54AM +0300, Marcel Apfelbaum wrote:
+ Anthony
> On 24/07/2017 4:47, Zhong Yang wrote:
> >Hello all,
> >
>
> Hi,
>
> >When we did virtio device hotplug in Q35 platform, which always failed in hotplug.
> >
>
> Can we please see the QEMU command line and the description
> of the hotplug steps?
>
> >Would you please tell me how to configure VM to make virtio device hotplug work in Q35 platform? Many thanks!
> >
>
> The virtio devices can be hot-plugged into PCIe Root Ports:
> HMP example:
> Start the VM with several PCIe Root Ports:
> <qemu-bin> -M q35 -monitor stdio \
> -device pcie-root-port,id=rp1 \
> -device pcie-root port,id=rp2 \
> ...
> Then from QEMU's hmp:
> device-add virtio-net-pci,id=n1,bus=rp1
> ...
>
>
> I hope it helps,
> Marcel
>
>
> >
> >Regards,
> >
> >Yang zhong
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-24 11:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24 1:47 [Qemu-devel] About virtio device hotplug in Q35! Zhong Yang
2017-07-24 5:05 ` Marcel Apfelbaum
2017-07-24 11:26 ` Zhong Yang
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).