From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeiP3-0002bU-8P for qemu-devel@nongnu.org; Tue, 21 May 2013 04:58:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeiP2-0004jz-1Q for qemu-devel@nongnu.org; Tue, 21 May 2013 04:58:41 -0400 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:49536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeiCL-0000Gn-V1 for qemu-devel@nongnu.org; Tue, 21 May 2013 04:45:34 -0400 Received: by mail-ob0-f177.google.com with SMTP id wn6so403037obc.22 for ; Tue, 21 May 2013 01:45:33 -0700 (PDT) Message-ID: <519B3421.3070604@gmail.com> Date: Tue, 21 May 2013 16:45:21 +0800 From: Li Zhang MIME-Version: 1.0 References: <519B2E24.40104@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Peter Maydell Cc: libvir-list@redhat.com, "qemu-devel@nongnu.org" , anthony@codemonkey.ws, Paul Mackerras , Pradipta Kumar Banerjee On 2013年05月21日 16:31, Peter Maydell wrote: > On 21 May 2013 09:19, Li Zhang wrote: >> We encounter this problem in openstack which always use >> default machine type. Currently, QEMU sets mac99 as default >> setting for ppc64 but it doesn't work on our platform at all. >> >> I tried to fix this in libvirt which it is not acceptable because >> libvirt only considers to get default setting from QEMU. > This will need to be fixed for ARM -- the whole idea of there > being a sensible "default machine type" and it being the one > QEMU starts by default is pretty x86-centric. libvirt needs > to have support for specifying which machine to use. Ah, libvirt does have support for specifying one machine type. I mean that libvirt set default according to QEMU's default setting, and management tools are dependent on this default setting without users' specified setting. I tried to change the default setting according to ppc64 platform in libvirt, but it is not accepted. > (There is consideration of changing the default ppc64 > machine, as it happens; but in general you can't rely > on QEMU doing what you want if you don't tell it > specifically which board you wanted.) I see. Thanks for your suggestion. :) > > thanks > -- PMM