[libvirt] Domblklist

Osier Yang jyang at redhat.com
Wed Aug 21 07:20:31 UTC 2013


On 21/08/13 13:38, Yaniv Hadad wrote:
> I am looking for the equivalent of virsh *domblklist *in libvirt API 
> reference. I am using the Java binding.
> What I want to get is the device list of the domain as in the 
> following example:
>
>         virsh # domblklist centos64test
>         Target     Source
> ------------------------------------------------
>         hda        /instances/centos64test.img
>         hdc        -

There is no API for it yet. Command domblklist extracts the device list by
parsing the domain XML, which is got by virDomainGetXMLDesc.

> Yaniv Hadad
> Servers & Network Group, IBM R&D Labs in Israel
> Software Devloper
> yanivh at il.ibm.com, +972-4-829-6594
> Fax: +972-4-829-6111, Cell: +972-50-4078908
>
>
> 	
>
>
>
>
> --
> 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/20130821/d6ffe4d5/attachment-0001.htm>


More information about the libvir-list mailing list