]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use virtio network device for aarch64/virt
authorOleg Strikov <oleg.strikov@canonical.com>
Fri, 14 Feb 2014 14:09:00 +0000 (18:09 +0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 19 Feb 2014 15:46:10 +0000 (10:46 -0500)
commit41b9b7187714628260742e2122ce4815891266e3
tree16da1be4de92a3e5d7a8392f86d358f5c4aab0fc
parent0eb4a5f4f14acb42bf78c5913e0cda9d894283d4
qemu: Use virtio network device for aarch64/virt

This patch changes network device type used by default from rtl8139
to virtio when architecture type is aarch64 and machine type is virt.
Qemu doesn't support any other machine types for aarch64 right now and
we can't make any other aarch64-specific tuning in this function yet.

Signed-off-by: Oleg Strikov <oleg.strikov@canonical.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c