[libvirt-users] libvirt and guest processes

Michal Privoznik mprivozn at redhat.com
Mon Apr 20 14:52:02 UTC 2015


On 20.04.2015 06:22, dt sweval wrote:
> Hi
> I wanted to find out if there is way to list all the running processes in a
> guest VM from the hypervisor. Like the output of 'ps -ef' from inside the
> guest VM, but without logging in or ssh into it.

No, I don't think there's a way. Problem is, libvirt views guest
internals private to the guest. Having said that, I don't think there
ever will be an API for that. Nor qemu-ga has an API for executing an
arbitrary shell commands.

Michal




More information about the libvirt-users mailing list