Re: [PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:09PM +0200, Vitaly Kuznetsov wrote: > MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be > avoided if the source data used to configure it didn't change; enhance > MMU extended role with the required fields and consolidate common code in >

Re: [PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:09PM +0200, Vitaly Kuznetsov wrote: > MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be > avoided if the source data used to configure it didn't change; enhance > MMU extended role with the required fields and consolidate common code in >

[PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-01 Thread Vitaly Kuznetsov
MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be avoided if the source data used to configure it didn't change; enhance MMU extended role with the required fields and consolidate common code in kvm_calc_mmu_role_common(). Signed-off-by: Vitaly Kuznetsov --- Changes since

[PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-01 Thread Vitaly Kuznetsov
MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be avoided if the source data used to configure it didn't change; enhance MMU extended role with the required fields and consolidate common code in kvm_calc_mmu_role_common(). Signed-off-by: Vitaly Kuznetsov --- Changes since