Permalink
Browse files

libvirt: run guests under user qemu with access to /dev/kvm

  • Loading branch information...
1 parent c72008f commit d18f6892b65a68daf5056163b67d7da53d60f61c @Ratler Ratler committed Feb 23, 2014
Showing with 3 additions and 1 deletion.
  1. +2 −0 virtual/libvirt/BUILD
  2. +1 −1 virtual/libvirt/DEPENDS
@@ -11,4 +11,6 @@ OPTS+=" --without-xen \
--with-yajl \
--with-init-script=none"
+add_priv_user qemu:qemu -G kvm &&
+
default_build
@@ -13,7 +13,7 @@ depends yajl
optional_depends avahi "--with-avahi" "--without-avahi" "for avahi support"
optional_depends gnutls "--with-gnutls" "--without-gnutls" "for GNUTLS encryption support"
optional_depends attr "--with-attr" "--without-attr" "for extended fs attributes support"
-optional_depends qemu "--with-qemu --with-qemu-user=nobody --with-qemu-group=nogroup" \
+optional_depends qemu "--with-qemu --with-qemu-user=qemu --with-qemu-group=qemu" \
"--without-qemu" \
"for QEMU support"
optional_depends dbus "--with-dbus" "--without-dbus" "for DBUS support"

0 comments on commit d18f689

Please sign in to comment.