[PATCH] KVM: Don't set guest cr3 from vmx_vcpu_setup()
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:58 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:28 +0000 (23:55 -0800)
commit4db9c47c052b89d89f43d12879690c1b3283b887
treeda245a1c1a118828f341bc3a23009e4bfd9b847f
parentcc1d8955cbfb9f32f432cc5033f6ef291e6f7f1e
[PATCH] KVM: Don't set guest cr3 from vmx_vcpu_setup()

It overwrites the right cr3 set from mmu setup.  Happens only with the test
harness.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/vmx.c