Re: Obtaining the PID of a domain's QEMU process from C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 9 Mar 2019 at 17:27, Shawn Anastasio <shawn@xxxxxxxxxx> wrote:
Thanks for the response. /var/run/libvirt/qemu/ seems to be exactly what
I'm looking for. It would, however, be nice to be able to access this
file without root privileges.

Use a tiny setuid C program that reads the relevant file and writes it to a known UNIX-domain socket that has more liberal permissions?  On past experience, I wouldn't expect this to end up being supported in libvirt, though there's nothing to stop you creating your own patched version.

Cheers,

- Peter
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux