[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: v3: KVM: support for 'count' in CPUID functions 4, 0xb
From: |
Amit Shah |
Subject: |
[Qemu-devel] Re: v3: KVM: support for 'count' in CPUID functions 4, 0xb and 0xd |
Date: |
Thu, 15 Jan 2009 15:58:57 +0530 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Jan 15, 2009 at 11:54:09AM +0200, Avi Kivity wrote:
> Amit Shah wrote:
>> These patches add support for cpuid functions that take a 'count' parameter
>> in addition to the function number. With these patches, KVM can run a VM
>> started with a newer CPU type (coreduo, core2duo). These patches also pave
>> way for a "host" CPU type, where we could pass the CPU type of the current
>> host to the VM.
>>
>> v3 uses the as-yet unused KVM_SET_CPUID2 interface, which was written to
>> support this functionality. Since we rely on kernel versions 2.6.25 at a
>> minimum for KVM and the SET_CPUID2 interface was introduced in 2.6.25, we're
>> safe with this.
>
> Looks good. Note that function 2 also needs special treatment.
Yes; I'll add that support as well.
Thanks,
Amit
[Qemu-devel] Re: v3: KVM: support for 'count' in CPUID functions 4, 0xb and 0xd, Avi Kivity, 2009/01/15
- [Qemu-devel] Re: v3: KVM: support for 'count' in CPUID functions 4, 0xb and 0xd,
Amit Shah <=