From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyU9G-0005MA-LK for qemu-devel@nongnu.org; Fri, 07 Nov 2008 11:25:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyU9F-0005Ly-8r for qemu-devel@nongnu.org; Fri, 07 Nov 2008 11:25:26 -0500 Received: from [199.232.76.173] (port=51774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyU9F-0005Lv-3F for qemu-devel@nongnu.org; Fri, 07 Nov 2008 11:25:25 -0500 Received: from mx2.redhat.com ([66.187.237.31]:42865) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyU9E-0005SM-PC for qemu-devel@nongnu.org; Fri, 07 Nov 2008 11:25:25 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mA7GPNF5026708 for ; Fri, 7 Nov 2008 11:25:23 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mA7GPNYT000589 for ; Fri, 7 Nov 2008 11:25:23 -0500 Received: from zweiblum.travel.kraxel.org (vpn-4-83.str.redhat.com [10.32.4.83]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mA7GPLF7032421 for ; Fri, 7 Nov 2008 11:25:22 -0500 Message-ID: <49146BF1.1060709@redhat.com> Date: Fri, 07 Nov 2008 17:25:21 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] kvm: sync registers? References: <491416EA.30706@redhat.com> <49144ABA.1030606@codemonkey.ws> <49146587.4040100@redhat.com> In-Reply-To: <49146587.4040100@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 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: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Anthony Liguori wrote: >> Gerd Hoffmann wrote: >>> Hi, >>> >>> How does kvm sync registers between kernel and qemu env? >>> I see there are kvm_arch_{get,put}_registers() functions in >>> target-i386/kvm.c, but grep doesn't find a single call of them? >> Right now, it doesn't. > > Ok. No wonder xenner doesn't boot xen pv guest kernels then. kvm > doesn't see the protected-mode start-of-day setup done ... And sprinkle in a kvm_arch_put_registers() call to the right place fixed it nicely. cheers, Gerd