Re: [libvirt] [PATCH] Fix save/restore with USB controller in XML.

2012-08-06 Thread Ján Tomko
On 08/03/12 16:54, Ján Tomko wrote: USB controller gets put on the first place in XML, but the default one is added at the end of the controllers array. Sorting them before checking ABI compatibility solves this. The default USB controller also doesn't get a PCI address assigned, making

[libvirt] [PATCH] Fix save/restore with USB controller in XML.

2012-08-03 Thread Ján Tomko
USB controller gets put on the first place in XML, but the default one is added at the end of the controllers array. Sorting them before checking ABI compatibility solves this. The default USB controller also doesn't get a PCI address assigned, making virDomainDeviceInfoCheckABIStability fail.