[libvirt] [PATCH v2] virsh: Do not check the input XML at virsh layer for cmdDetachDevice

2012-02-07 Thread Osier Yang
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. v1 is here:

Re: [libvirt] [PATCH v2] virsh: Do not check the input XML at virsh layer for cmdDetachDevice

2012-02-07 Thread Daniel P. Berrange
On Wed, Feb 08, 2012 at 12:12:53AM +0800, Osier Yang wrote: 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