Re: libvirt-question

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

 



On Tue, May 23, 2017 at 10:29:14AM +0800, zhunxun@xxxxxxxxx wrote:
> Hello,does libvirt provides API to get qemu process ID by vm ID or name??or is there any methods to do this??
> thanks!!

No, libvirt doesn't provide such API. Depends on what you really want to do.
Libvirt uses domain objects to identify a domain and that's all you need to
operate on domains. If you want to operate on the process level, for whatever
administration reasons, that's out of libvirt's scope.

Erik

>
>
>
> zhunxun@xxxxxxxxx

> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux