Re: [libvirt] Improve heuristic for default guest architecture

2009-03-24 Thread Daniel Veillard
On Tue, Mar 24, 2009 at 11:16:38AM +, Daniel P. Berrange wrote: > On Fri, Mar 20, 2009 at 03:34:44PM +0100, Soren Hansen wrote: > > In libvirt 0.6.1, if you create a domain description of type 'kvm' > > without an arch set on an x86-64 host, you would get an i686 qemu guest > > rather than the

Re: [libvirt] Improve heuristic for default guest architecture

2009-03-24 Thread Daniel P. Berrange
On Fri, Mar 20, 2009 at 03:34:44PM +0100, Soren Hansen wrote: > In libvirt 0.6.1, if you create a domain description of type 'kvm' > without an arch set on an x86-64 host, you would get an i686 qemu guest > rather than the expected x86-64 kvm guest. > > This is because virCapabilitiesDefaultGuestA

Re: [libvirt] Improve heuristic for default guest architecture

2009-03-23 Thread Daniel P. Berrange
On Fri, Mar 20, 2009 at 03:34:44PM +0100, Soren Hansen wrote: > In libvirt 0.6.1, if you create a domain description of type 'kvm' > without an arch set on an x86-64 host, you would get an i686 qemu guest > rather than the expected x86-64 kvm guest. > > This is because virCapabilitiesDefaultGuestA

[libvirt] Improve heuristic for default guest architecture

2009-03-20 Thread Soren Hansen
In libvirt 0.6.1, if you create a domain description of type 'kvm' without an arch set on an x86-64 host, you would get an i686 qemu guest rather than the expected x86-64 kvm guest. This is because virCapabilitiesDefaultGuestArch doesn't take the domain type into consideration, so it just returned