]> xenbits.xensource.com Git - libvirt.git/commit
qemu: add support for vhost-vsock-pci
authorJán Tomko <jtomko@redhat.com>
Tue, 22 May 2018 13:57:47 +0000 (15:57 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 29 May 2018 13:42:04 +0000 (15:42 +0200)
commitb8b42ca036adbfaac1741c8efe389cd1403e220b
treed466ee5a0f1a17077e72ce2fc871e86a695ba54f
parent950c46f1a4fd8beb208fd03c8bb14b022a027ccf
qemu: add support for vhost-vsock-pci

Create a new vsock endpoint by opening /dev/vhost-vsock,
set the requested CID via ioctl (or assign a free one if auto='yes'),
pass the file descriptor to QEMU and build the command line.

https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_alias.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c
tests/qemuxml2argvdata/vhost-vsock-auto.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/vhost-vsock.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c