search for: guestfs_get_pid

Displaying 2 results from an estimated 2 matches for "guestfs_get_pid".

2011 Jan 17
1
Assigning qemu process to cgroups
I had a go at writing a patch, but I think it's possible already without any patch. After launch you can get the PID of the qemu subprocess: guestfs_get_pid (g); --> returns PID You can use Linux to map this to a list of thread IDs: ls /proc/$PID/task/ --> returns a list of thread IDs [Yes, this is potentially racy, but in reality qemu has already started up fully after guestfs_launch returns and is almost quiescent when you're not is...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.