From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyRw9-0001xd-M0 for qemu-devel@nongnu.org; Fri, 07 Nov 2008 09:03:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyRw7-0001wI-8y for qemu-devel@nongnu.org; Fri, 07 Nov 2008 09:03:44 -0500 Received: from [199.232.76.173] (port=47727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyRw6-0001wF-WF for qemu-devel@nongnu.org; Fri, 07 Nov 2008 09:03:43 -0500 Received: from el-out-1112.google.com ([209.85.162.177]:31803) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyRw6-0007SP-IB for qemu-devel@nongnu.org; Fri, 07 Nov 2008 09:03:42 -0500 Received: by el-out-1112.google.com with SMTP id s27so637043ele.19 for ; Fri, 07 Nov 2008 06:03:41 -0800 (PST) Message-ID: <49144ABA.1030606@codemonkey.ws> Date: Fri, 07 Nov 2008 08:03:38 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] kvm: sync registers? References: <491416EA.30706@redhat.com> In-Reply-To: <491416EA.30706@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: > 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. We should probably sync registers in the same places that kvm-userspace does (gdbstubs, vmport, etc.). I tried to always sync registers on every exit but this causes boot to fail. The same is true of kvm-userspace though and I've been meaning to dig into why this is. Regards, Anthony Liguori > cheers, > Gerd > > >