diff mbox

[1/4] test: Run tests with asid 1

Message ID 1280756016-11330-2-git-send-email-joerg.roedel@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joerg Roedel Aug. 2, 2010, 1:33 p.m. UTC
None
diff mbox

Patch

diff --git a/kvm/test/x86/svm.c b/kvm/test/x86/svm.c
index 628f3aa..dd4a8da 100644
--- a/kvm/test/x86/svm.c
+++ b/kvm/test/x86/svm.c
@@ -43,6 +43,7 @@  static void vmcb_ident(struct vmcb *vmcb)
     vmcb_set_seg(&save->gdtr, 0, desc_table_ptr.base, desc_table_ptr.limit, 0);
     sidt(&desc_table_ptr);
     vmcb_set_seg(&save->idtr, 0, desc_table_ptr.base, desc_table_ptr.limit, 0);
+    ctrl->asid = 1;
     save->cpl = 0;
     save->efer = rdmsr(MSR_EFER);
     save->cr4 = read_cr4();