Message ID | 20110421090922.4d9a275b.randy.dunlap@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- linux-next-20110421.orig/arch/x86/kvm/emulate.c +++ linux-next-20110421/arch/x86/kvm/emulate.c @@ -2595,7 +2595,7 @@ static int check_svme_pa(struct x86_emul u64 rax = kvm_register_read(ctxt->vcpu, VCPU_REGS_RAX); /* Valid physical address? */ - if (rax & 0xffff000000000000) + if (rax & 0xffff000000000000ULL) return emulate_gp(ctxt, 0); return check_svme(ctxt);