On 07/03/2012 08:34 PM, Marcelo Tosatti wrote:
> On Wed, Jun 27, 2012 at 06:24:50PM +0300, Avi Kivity wrote:
>> Introduce kvm_cpuid() to perform the leaf limit check and calculate
>> register values, and let kvm_emulate_cpuid() just handle reading and
>> writing the registers from/to the vcpu. Thi
On Wed, Jun 27, 2012 at 06:24:50PM +0300, Avi Kivity wrote:
> Introduce kvm_cpuid() to perform the leaf limit check and calculate
> register values, and let kvm_emulate_cpuid() just handle reading and
> writing the registers from/to the vcpu. This allows us to reuse
> kvm_cpuid() in a context wher
Introduce kvm_cpuid() to perform the leaf limit check and calculate
register values, and let kvm_emulate_cpuid() just handle reading and
writing the registers from/to the vcpu. This allows us to reuse
kvm_cpuid() in a context where directly reading and writing registers
is not desired.
Signed-off