Re: [PATCH v8 4/8] kvm, mem-hotplug: Reload L1's apic access page in vcpu_enter_guest().

From: Paolo Bonzini
Date: Wed Sep 24 2014 - 07:45:05 EST


Il 24/09/2014 09:57, Tang Chen ha scritto:
> if (!is_guest_mode(vcpu) ||
> !(vmx->nested.current_vmcs12->secondary_vm_exec_control &
> SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES))

Actually, this needs to use nested_cpu_has2 (in case the secondary
controls are disabled). I fixed that for you.

Thanks!

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/