Re: [libvirt] [PATCH v2] caps: Fix regression defaulting to host arch

2015-05-08 Thread Cole Robinson
On 05/08/2015 04:06 AM, Richard W.M. Jones wrote: > On Thu, May 07, 2015 at 11:15:55AM -0400, Cole Robinson wrote: >> My commit 747761a79 (v1.2.15 only) dropped this bit of logic when filling >> in a default arch in the XML: >> >> -/* First try to find one matching host arch */ >> -for (i =

Re: [libvirt] [PATCH v2] caps: Fix regression defaulting to host arch

2015-05-08 Thread Richard W.M. Jones
On Thu, May 07, 2015 at 11:15:55AM -0400, Cole Robinson wrote: > My commit 747761a79 (v1.2.15 only) dropped this bit of logic when filling > in a default arch in the XML: > > -/* First try to find one matching host arch */ > -for (i = 0; i < caps->nguests; i++) { > -if (caps->guest

[libvirt] [PATCH v2] caps: Fix regression defaulting to host arch

2015-05-07 Thread Cole Robinson
My commit 747761a79 (v1.2.15 only) dropped this bit of logic when filling in a default arch in the XML: -/* First try to find one matching host arch */ -for (i = 0; i < caps->nguests; i++) { -if (caps->guests[i]->ostype == ostype) { -for (j = 0; j < caps->guests[i]->arc