Re: Problem with KVM guest switching to x86 long mode

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Sunday, April 11, 2010 - 2:59 am

On 04/11/2010 12:48 PM, Pekka Enberg wrote:

It should work without 80000008 set up - failure should happen only if 
it is setup incorrectly:

int cpuid_maxphyaddr(struct kvm_vcpu *vcpu)
{
     struct kvm_cpuid_entry2 *best;

     best = kvm_find_cpuid_entry(vcpu, 0x80000008, 0);
     if (best)
         return best->eax & 0xff;
     return 36;
}


-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Thu Apr 8, 11:26 am)
Re: Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Thu Apr 8, 11:59 am)
Re: Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Sat Apr 10, 11:30 pm)
Re: Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Sun Apr 11, 2:48 am)
Re: Problem with KVM guest switching to x86 long mode, Avi Kivity, (Sun Apr 11, 2:59 am)
Re: Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Sun Apr 11, 3:02 am)
Re: Problem with KVM guest switching to x86 long mode, Pekka Enberg, (Sun Apr 11, 4:52 am)