]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add prefix for vsock vhostfd
authorJán Tomko <jtomko@redhat.com>
Wed, 30 May 2018 10:52:51 +0000 (12:52 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 5 Jun 2018 05:34:11 +0000 (07:34 +0200)
commit7ecafb4a2b9492c581e7f19dbd9dcd7d9bb104f1
treea4ee9579a9b9e898d754736ee58ad167e1456452
parent5048aa527ac055271c2d1df3513b804a3a0aa23f
qemu: Add prefix for vsock vhostfd

Alter qemuBuildVsockDevStr to allow passing a prefix for
the vhostfd file descriptor name. Domain startup uses
the numeric value of fd without a prefix, but hotplug
will need to use a prefix because passed file descriptor
names cannot start with a number.

https://bugzilla.redhat.com/show_bug.cgi?id=1291851

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c