[libvirt] [PATCH v2 2/2] virsh: Enhance the detailed output of domblklist for networked source

Michal Privoznik mprivozn at redhat.com
Fri Sep 4 08:26:07 UTC 2015


On 03.09.2015 22:47, John Ferlan wrote:
> 
> 
> On 09/02/2015 11:58 AM, Michal Privoznik wrote:
>> From: Lin Ma <lma at suse.com>
>>
>> Format & output more detailed information about networked source
>>
>> e.g: The output without the patch:
>> $ virsh domblklist $DOMAIN --details
>> Type       Device     Target     Source
>> ------------------------------------------------
>> network    disk       vda        test-pool/image
>> network    disk       vdb        iqn.2015-08.org.example:sn01/0
>> network    disk       vdc        /image.raw
>> network    disk       vdd        -
>> network    disk       vde        -
>> network    disk       vdf        image1
>> network    disk       vdg        test-volume/image.raw
>>
>> The output with the patch:
>> $ virsh domblklist $DOMAIN --details
>> Type       Device     Target     Source
>> ------------------------------------------------
>> network    disk       vda        rbd://monitor1.example.org:6321/test-pool/image
>> network    disk       vdb        iscsi://192.168.124.200:3260/iqn.2015-08.org.example:sn01/0
>> network    disk       vdc        http://192.168.124.200:80/image.raw
>> network    disk       vdd        nbd+unix:///var/run/nbdsock
>> network    disk       vde        nbd://192.168.124.200:12345
>> network    disk       vdf        sheepdog://192.168.124.200:6000/image1
>> network    disk       vdg        gluster://192.168.124.200/test-volume/image.raw
> 
> Is the goal to just format in some "standard" format or to use the
> format that would be used by qemu in the command line?

While it's the former, I think we should at least cover asses and
document that these strings have no special meaning and can change later
if we find a better way of expressing them. Or should we?

Michal




More information about the libvir-list mailing list