]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Don't generate invalid XML in attach-disk command
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Jun 2012 14:55:51 +0000 (16:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 Jun 2012 08:07:54 +0000 (10:07 +0200)
commit5b4740265cf1e9cd00165e54e1f5e81f9008bc63
treee91cf05ae5b87ebce91d8e02345dc95dedf7e220
parent1f145b2f0f32b0f2d00d1926fc17c01432ef2fa2
virsh: Don't generate invalid XML in attach-disk command

The attach-disk command used with parameter --cache created an invalid
XML snippet as the beginning of the <driver> element was not printed
when used solely with --cache and no other attribute to driver.
tools/virsh.c