]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: improve usability of '--print-xml' flag for attach-disk command
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>
Thu, 17 Oct 2013 04:05:21 +0000 (12:05 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 17 Oct 2013 21:43:57 +0000 (15:43 -0600)
commit21f2d80b0cdf30fe3a6c942f9d7d6b17cb73ec66
tree28070ffc459f5b1cbb104c9aeb844d2d5c258e72
parent7ab40c5d093b93056685431f0e8172b1cd846b6f
virsh: improve usability of '--print-xml' flag for attach-disk command

'--print-xml' option is very useful for doing some test.
But we had to specify a real domain for it.
This patch could enable us to specify a fake domain
when using --print-xml option.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-domain.c