On 06/11/2014 17:45, Radim Krčmář wrote:
> -             } else if (kvm_apic_hw_enabled(apic)) {
> +             } else if (kvm_apic_get_reg(apic, APIC_LDR)) {
>                       if (kvm_apic_get_reg(apic, APIC_DFR) ==
>                                                       APIC_DFR_CLUSTER) {
>                               new->cid_shift = 4;

Why are you removing the kvm_apic_hw_enabled(apic)?  We do not reset the
APIC to the power-up values (the SDM says that "may" happen) when the
enabled bit is turned off in the APIC_BASE MSR.

Paolo

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to