[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] nested page table translation for non-x86 operating sys
Re: [Qemu-devel] nested page table translation for non-x86 operating system
Tue, 29 May 2012 14:19:06 +0800
Hi Xin Tong,
On Fri, Jan 20, 2012 at 08:54:12AM -0500, Xin Tong wrote:
> On Fri, Jan 20, 2012 at 3:23 AM, 陳韋任 <address@hidden> wrote:
> >> 1. The control of gCR3 and hCR3 needs kernel access. While they can
> >> be set with a device module as what is done in kvm. Trapping into the
> >> kernel every time gCR3 is reseted might be too expensive.
> > Why the control of gCR3 needs kernel access? Isn't gCR3 just a field of the
> > CPUX86State? QEMU should have the control of it. Or you mean the trapping
> > thing?
> I do not think gCR3 is a field in the CPUx86State. I think inorder to
> change the guest CR3, we need to trap into the kernel as kvm does.
I read stuff about Intel NPT again. Is gCR3 a field of VMCS, then loaded into
CR3 at runtime? Thanks!
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
|[Prev in Thread]
||[Next in Thread]|
- Re: [Qemu-devel] nested page table translation for non-x86 operating system,
Wei-Ren Chen <=