[libvirt] [PATCH] virsh: Add --print-xml flag for attach-disk command

Laine Stump laine at laine.org
Fri Jan 25 21:32:04 UTC 2013


On 01/25/2013 02:55 PM, Peter Krempa wrote:
> On 01/25/13 14:11, Eric Blake wrote:
>> On 01/25/2013 05:22 AM, Peter Krempa wrote:
>>> The flag causes the XML of the disk that would be attached to be
>>> printed
>>> instead.
>>> ---
>>>   tools/virsh-domain.c | 46
>>> ++++++++++++++++++++++++++++------------------
>>>   tools/virsh.pod      |  5 ++++-
>>>   2 files changed, 32 insertions(+), 19 deletions(-)
>>
>> Nice usability improvement.
>> ACK.


You're planning on matching patches to add that option to the other
commands that create device xml, right? :-)

(the ones I see are *-create-as and attach-interface)




More information about the libvir-list mailing list