Seems a typo leaking our eyes :-(

        
        Fixing a typo which mixes X86_64 and CONFIG_X86_64 and block 64
bits guest now.

        Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>


diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 5f4bdc0..9bf8c04 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -479,7 +479,7 @@ static void setup_msrs(struct kvm_vcpu *vcpu)
        int index, save_nmsrs;
 
        save_nmsrs = 0;
-#ifdef X86_64
+#ifdef CONFIG_X86_64
        if (is_long_mode(vcpu)) {
                index = __find_msr_index(vcpu, MSR_SYSCALL_MASK);
                if (index >= 0)

Attachment: fix1.patch
Description: fix1.patch

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to