qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device?
@ 2016-08-17 12:08 Kevin Zhao
  2016-08-17 16:13 ` Andrew Jones
  0 siblings, 1 reply; 18+ messages in thread
From: Kevin Zhao @ 2016-08-17 12:08 UTC (permalink / raw)
  To: QEMU Developers, qemu-arm; +Cc: Peter Maydell, Thomas Hanson, Gema Gomez-Solano

Hi all,
     Now I'm investigating net device hot plug and disk hotplug for
AArch64. For virtio , the default address is virtio-mmio. After Libvirt
1.3.5, user can explicitly specify the address-type to pci and so libvirt
will pass the virtio-pci parameters to the Qemu.
     Both my host and guest OS is Debian8, and Qemu version is 2.6.0.
Libvirt version is 1.3.5.
     For net-device, I change the address-type to pci, and libvirt pass the
command below:
     -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:0d:25:25,bus=pci.2,addr=0x1

     After booting, the eth0 device disappear(eth0 occur when the address
is virtio-mmio),
but I can find another net-device enp2s1, also it can't work for dhcp:
Running lspci: 02:01.0 Ethernet controller: Red Hat, Inc Virtio network
device
I'm not sure whether it worked.

     For disk device,* when I change the address-type to pci, the whole
qemu command is :*
https://paste.fedoraproject.org/409553/,  but the VM can not boot
successfully. Does Qemu not support device disk of virtio-pci in AArch64
just as it in X86_64?
     Thanks~Since I am not very familiar with Qemu, really looking forward
to your response.

Best Regards,
Kevin Zhao

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-09-08  6:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 12:08 [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device? Kevin Zhao
2016-08-17 16:13 ` Andrew Jones
2016-08-17 16:41   ` Andrea Bolognani
2016-08-18  6:38     ` Andrew Jones
2016-08-19 15:43       ` Andrea Bolognani
2016-08-19 17:51         ` Laine Stump
2016-08-17 17:00   ` Laine Stump
2016-08-18  7:41     ` Andrew Jones
2016-08-18 21:11       ` Laine Stump
2016-08-18 12:10     ` Marcel Apfelbaum
2016-08-18 21:20       ` Laine Stump
2016-08-18 12:43     ` Kevin Zhao
2016-08-18 13:51       ` Andrea Bolognani
2016-08-24  1:52         ` Kevin Zhao
2016-09-08  6:50           ` Kevin Zhao
2016-08-18 21:26       ` Laine Stump
2016-08-18 12:30   ` Kevin Zhao
2016-08-18 12:51     ` Kevin Zhao

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).