Re: [PATCH] Adds the missing vol-pool command to virsh. Now when given only a volume key or path, the complete pool+volume_name can be determined easily.

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

 



On 06/07/2010 09:07 PM, Justin Clift wrote:
---
tools/virsh.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)

This patch adds a "vol-pool" command to virsh, to round out the conversion functions for vols in virsh.

At the moment, if we start with a volume name and a pool id, we're all good. We can convert from that pair to either a volume key or volume path.

But, if we're given just a volume key or path we have no good way to look up the storage pool for it. Kind of makes it a one way association. :/

This patch fixes that, making it possible to work from just having a volume key or path. :)

NOTE - This doesn't yet include a patch for the virsh.pod man page. I'm not sure if my previous patch for the virsh vol-* commands will make it through without changes. I'll add the man bits for this after I've made any needed changes to the prior submitted vol-* patch.

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org

--
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]