[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] kvm: sync registers?
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] kvm: sync registers? |
Date: |
Fri, 7 Nov 2008 17:31:53 +0100 |
User-agent: |
KMail/1.9.9 |
On Friday 07 November 2008, 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. 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.
Maybe due to do with inconsistencies between the segment register contents and
the descriptor tables? I know I've written code that relies on this feature.
Paul