Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Avi Kivity and committed by
Linus Torvalds
4db9c47c cc1d8955

-2
-2
drivers/kvm/vmx.c
··· 1027 1027 vmcs_writel(GUEST_RIP, 0xfff0); 1028 1028 vmcs_writel(GUEST_RSP, 0); 1029 1029 1030 - vmcs_writel(GUEST_CR3, 0); 1031 - 1032 1030 //todo: dr0 = dr1 = dr2 = dr3 = 0; dr6 = 0xffff0ff0 1033 1031 vmcs_writel(GUEST_DR7, 0x400); 1034 1032