[libvirt] [PATCH 1/2] Add --source-format argument to virsh pool-define-as and pool-create-as
Justin Clift
justin at salasaga.org
Sun May 30 14:24:45 UTC 2010
Hi all,
When creating pools from dedicated disks, the existing pool-define-as
and pool-create-as commands are a bit non-optimal.
Ideally, a person would be able to specify all of the required options
directly on the command line instead of having to edit the XML.
At the moment, there is no way to specify the format type (ie gpt) so it
gets included in the XML the pool is constructed with.
Please find attached a simple (tested) patch to add an optional
"--source-format 'type'" to virsh. This is patched against current git
master and will apply cleanly.
Also created a Red Hat BZ ticket for this (#597790) for tracking.
Regards and best wishes,
Justin Clift
--
Salasaga - Open Source eLearning IDE
http://www.salasaga.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virsh.c-source-format-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100531/2526777f/attachment-0001.ksh>
More information about the libvir-list
mailing list