]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add virtio related options to vsock
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Wed, 27 Jan 2021 18:46:59 +0000 (19:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 29 Jan 2021 11:25:49 +0000 (12:25 +0100)
commitbd112c9e0f7523b90bf1362cf60deea7db05a32b
tree65ef10ae8d6e4b10522fc0645ae1124ecec50f11
parent19d4e467707e187f6736f24a35f5a51275d869ce
qemu: Add virtio related options to vsock

Add virtio related options iommu, ats and packed as driver element attributes
to vsock devices. Ex:

 <vsock model='virtio'>
   <cid auto='no' address='3'/>
   <driver iommu='on'/>
 </vsock>

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
12 files changed:
docs/formatdomain.rst
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/domain_validate.c
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/vhost-vsock-ccw-iommu.s390x-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/vhost-vsock-ccw-iommu.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/vhost-vsock-ccw-iommu.s390x-latest.xml [new symlink]
tests/qemuxml2xmltest.c