]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Support virtio-mmio transport for virtio on ARM
authorCole Robinson <crobinso@redhat.com>
Thu, 1 Aug 2013 01:40:35 +0000 (21:40 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 2 Sep 2013 20:53:40 +0000 (16:53 -0400)
commit4fa172215de536495239605b9cc2afcc18cb1b55
treed68ba294b7aadb3cf0510665bb1bdf4c3c8210ed
parent54a77c6df3c483864463f602c4c6f435d50bd79e
qemu: Support virtio-mmio transport for virtio on ARM

Starting with qemu 1.6, the qemu-system-arm vexpress-a9 model has a
hardcoded virtio-mmio transport which enables attaching all virtio
devices.

On the command line, we have to use virtio-XXX-device rather than
virtio-XXX-pci, thankfully s390 already set the precedent here so
it's fairly straight forward.

At the XML level, this adds a new device address type virtio-mmio.
The controller and addressing don't have any subelements at the
moment because we they aren't needed for this usecase, but could
be added later if needed.

Add a test case for an ARM guest with one of every virtio device
enabled.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-arm-vexpressa9-virtio.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-arm-vexpressa9-virtio.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c