[libvirt] libvirt-question

zhunxun at gmail.com zhunxun at gmail.com
Tue May 23 07:33:31 UTC 2017


thanks a lot!



zhunxun at gmail.com
 
From: Erik Skultety
Date: 2017-05-23 15:09
To: zhunxun at gmail.com
CC: libvir-list
Subject: Re: [libvirt] libvirt-question
On Tue, May 23, 2017 at 10:29:14AM +0800, zhunxun at gmail.com 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 at gmail.com
 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170523/3f2274cd/attachment-0001.htm>


More information about the libvir-list mailing list