On Tue, May 29, 2018 at 14:53:14 +0200, Ján Tomko wrote:
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(a)redhat.com>
---
Rebased version with all the ACKed squash-ins for patches 1-6 available at:
git://repo.or.cz/libvirt/jtomko.git vsock-v3
http://repo.or.cz/libvirt/jtomko.git/shortlog/refs/heads/vsock-v3
Note that the linked branch is not in pushable state. Patch 3 does not
have a sign-off and the 'squash-in' patch was not actually squashed in.
In patch " util: create virvsock.c" there's a copy-paste error in the
docs for virVsockAcquireGuestCid, where it also mentions what
virVsockSetGuestCid does. Once you'll be editing that commit, please add
the colons after function names too.
ACK series with the two points above addressed.