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