From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UenkI-0002Ef-5a for qemu-devel@nongnu.org; Tue, 21 May 2013 10:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UenkG-0007YS-52 for qemu-devel@nongnu.org; Tue, 21 May 2013 10:40:57 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:54206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UenkF-0007Xu-Rl for qemu-devel@nongnu.org; Tue, 21 May 2013 10:40:56 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 May 2013 15:36:32 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id B92701B08074 for ; Tue, 21 May 2013 15:40:50 +0100 (BST) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4LEeeYf53870786 for ; Tue, 21 May 2013 14:40:40 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r4LEenGh003886 for ; Tue, 21 May 2013 08:40:50 -0600 Message-ID: <519B8770.9030109@de.ibm.com> Date: Tue, 21 May 2013 16:40:48 +0200 From: Christian Borntraeger MIME-Version: 1.0 References: <519B2E24.40104@gmail.com> <20130521083953.GB31290@redhat.com> <20130521095527.GB29303@iris.ozlabs.ibm.com> <20130521100136.GE31290@redhat.com> <87y5b8bkt3.fsf@codemonkey.ws> In-Reply-To: <87y5b8bkt3.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [qemu-devel][libvirt] Default machine type setting for ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , libvir-list@redhat.com, "qemu-devel@nongnu.org" , Li Zhang , Paul Mackerras , Pradipta Kumar Banerjee On 21/05/13 14:04, Anthony Liguori wrote: > "Daniel P. Berrange" writes: > >> On Tue, May 21, 2013 at 07:55:27PM +1000, Paul Mackerras wrote: >>> On Tue, May 21, 2013 at 09:39:53AM +0100, Daniel P. Berrange wrote: >>>> QEMU has the notion of a default machine for each target, and that is >>>> what libvirt uses if the user hasn't specified a machine. It is not >>>> libvirt's job to override QEMU's notion of the default machine here, >>>> so if the 'mac99' machine type isn't suitable as the default either >>>> QEMU needs to change that for the ppc target, or the user needs to >>>> explicitly specify their desired machine type. >>> >>> We are getting the default changed to 'pseries', at least for cases >>> where pseries support is compiled in, which isn't necessarily >>> always. That will of course not satisfy the Freescale guys. >>> >>> I think libvirt needs some more sensible way to ask qemu what its >>> capabilities are. Currently it has no way to ask qemu "what machines >>> can you emulate with kvm acceleration?" If the user has asked for a >>> KVM domain then the default machine should be one that can be provided >>> by KVM. At present it isn't, on PowerPC. >> >> If QEMU can provide more intelligent info in this respect, then >> libvirt can use it. We're doing the best we can with picking >> defaults given the info QEMU currently provides us. > > We've talked in the past about having an accelerator specific machine > default. I think this is a perfectly reasonable thing to do and would > solve the problem for ARM and for PPC. If we get such thing, then virtio-ccw might also be the right default for kvm on s390. Christian