qemu-devel
[Top][All Lists]
Advanced

[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: Avi Kivity
Subject: [Qemu-devel] Re: v3: KVM: support for 'count' in CPUID functions 4, 0xb and 0xd
Date: Thu, 15 Jan 2009 11:54:09 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]