On 02/07/2012 09:39 AM, 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 parsing.
>
> This is regression introduced by ea7182c.
>
> v1 is here:
>
https://www.redhat.com/archives/libvir-list/2012-January/msg00395.html
>
> ---
> tools/virsh.c | 23 +++++------------------
> 1 files changed, 5 insertions(+), 18 deletions(-)
ACK.