From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBII9-0002Hs-95 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:23:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBII7-0002ED-Mj for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:23:32 -0500 Received: from [199.232.76.173] (port=38938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBII7-0002E5-Bc for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:23:31 -0500 Received: from e8.ny.us.ibm.com ([32.97.182.138]:54888) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBII6-0007fC-CH for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:23:30 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id mBD0IYb1022604 for ; Fri, 12 Dec 2008 19:18:34 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mBD0NOdG170918 for ; Fri, 12 Dec 2008 19:23:26 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mBD0NOr7015037 for ; Fri, 12 Dec 2008 19:23:24 -0500 Subject: Re: [Qemu-devel] [PATCH 2/6] kvm: sync vcpu state during initialization From: Hollis Blanchard In-Reply-To: <494184F5.9080406@codemonkey.ws> References: <1229028752-9480-1-git-send-email-hollisb@us.ibm.com> <494184F5.9080406@codemonkey.ws> Content-Type: text/plain Date: Fri, 12 Dec 2008 18:23:17 -0600 Message-Id: <1229127797.3347.20.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, kvm-ppc@vger.kernel.org On Thu, 2008-12-11 at 15:24 -0600, Anthony Liguori wrote: > Hollis Blanchard wrote: > > Currently on x86, qemu initializes CPUState but KVM ignores it and does its > > own vcpu initialization. However, PowerPC KVM needs to be able to set the > > initial register state to support the -kernel and -append options. > > > > Signed-off-by: Hollis Blanchard > > > > Segv's x86 when using -enable-kvm. qemu.git already segvs on x86 with --enable-kvm unless you specify a -cpu option. (I'd call that a bug.) Maybe you forgot that on this run? When I use "-cpu coreduo" (for some strange reason "core2duo" is not recognized), I don't segfault. -- Hollis Blanchard IBM Linux Technology Center