Edward Young
2015-Mar-15 03:42 UTC
[libvirt-users] How to run qemu with root permission from libvirt.
Hi all, My platform is qemu 1.5.1 and libvirt 1.2.0. How to lauch the qemu with root permission, since in the qemu I would like to access the hardware directly. I actually check the runing /usr/bin/kvm process, it indicated that this process is from a root user, but it still failed to act as with root permission. Thanks! Ed
Hao Liu
2015-Mar-15 07:07 UTC
Re: [libvirt-users] How to run qemu with root permission from libvirt.
Hi, Ed. This can be configured with "user" and "group" options in /etc/libvirt/qemu.conf. Best Regards, Hao Liu +86-010-62608262 ----- Original Message -----> From: "Edward Young" <edward.and.young@gmail.com> > To: libvirt-users@redhat.com, qemu-discuss@nongnu.org, "Edward Young" <edward.and.young@gmail.com> > Sent: Sunday, March 15, 2015 11:42:40 AM > Subject: [libvirt-users] How to run qemu with root permission from libvirt. > > Hi all, > > My platform is qemu 1.5.1 and libvirt 1.2.0. How to lauch the qemu with root > permission, since in the qemu I would like to access the hardware directly. > > I actually check the runing /usr/bin/kvm process, it indicated that this > process is from a root user, but it still failed to act as with root > permission. > > Thanks! > Ed > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users