Closed bergwolf closed 7 years ago
@laijs updated with following requested changes:
One thing to note:
libvirt by default uses cgroup controller to limit and grant guest
permissions. However, when adding device via qemu monitor directly,
libvirt has no knowledge and thus does not grant proper permissions to
qemu process. As a result, qemu will get EPERM opening /dev/vhost-vsock
device.
To work around it, remove devices from cgroup_controllers in
/etc/libvirt/qemu.conf.
The PR rebases https://github.com/hyperhq/runv/pull/355 on top of latest master. It changes qemu and libvirt driver to support vsock device in guest vm:
Requires: https://github.com/hyperhq/hyperstart/pull/249
TODOs: