Commit d92899a0 authored by Avi Kivity's avatar Avi Kivity Committed by Linus Torvalds
Browse files

[PATCH] kvm: SVM: Hack initial cpu csbase to be consistent with intel

This allows us to run the mmu testsuite on amd.
Signed-off-by: default avatarAvi Kivity <>
Cc: Ingo Molnar <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ac6c2bc5
......@@ -528,7 +528,13 @@ static void init_vmcb(struct vmcb *vmcb)
save->cs.limit = 0xffff;
save->cs.base = 0xffff0000;
* cs.base should really be 0xffff0000, but vmx can't handle that, so
* be consistent with it.
* Replace when we have real mode working for vmx.
save->cs.base = 0xf0000;
save->gdtr.limit = 0xffff;
save->idtr.limit = 0xffff;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment