On Wed, Oct 02, 2013 at 05:37:31PM +0200, Paolo Bonzini wrote:
> Il 02/10/2013 17:21, Gleb Natapov ha scritto:
> >> -if (kvm_enabled()) {
> >> -KVMState *s = cs->kvm_state;
> >> +kvm_mask =
> >> +kvm_arch_get_supported_cpuid(s, 0xd, 0, R_EAX) |
> >> +
Il 02/10/2013 17:21, Gleb Natapov ha scritto:
>> -if (kvm_enabled()) {
>> -KVMState *s = cs->kvm_state;
>> +kvm_mask =
>> +kvm_arch_get_supported_cpuid(s, 0xd, 0, R_EAX) |
>> +((uint64_t)kvm_arch_get_supported_cpuid(s, 0xd, 0, R_EDX) <<
>> 32);
>
On Fri, Sep 13, 2013 at 03:55:58PM +0200, Paolo Bonzini wrote:
> The data in leaf 0Dh depends on information from other feature bits.
> Instead of passing it blindly from the host, compute it based on
> whether these feature bits are enabled.
>
> Signed-off-by: Paolo Bonzini
> ---
> target-i386/