]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Do not check the input XML at virsh layer for cmdDetachDevice v0.9.10-rc2
authorOsier Yang <jyang@redhat.com>
Tue, 7 Feb 2012 15:56:08 +0000 (23:56 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 8 Feb 2012 01:36:17 +0000 (09:36 +0800)
commitc001eb5bbefd42b3976fe95ce7b9c53dd69a49a0
tree74152a6296ebbcabeac17ce4352e36238d257ac5
parent9fbbcda6b73e3c33b22a34e2f3dceefe60fc1a2a
virsh: Do not check the input XML at virsh layer for cmdDetachDevice

Any device XML doesn't use the same order as libvirt generates, or
uses decimal for attributes like "slot" of "<address>" will cause
device detaching to fail, as virsh compares the XML simply earlier
in strict manner before internal parsing.

This is regression introduced by ea7182c.
tools/virsh.c