KVM: x86/mmu: Make dirty log size hook (PML) a value, not a function
authorSean Christopherson <seanjc@google.com>
Sat, 13 Feb 2021 00:50:09 +0000 (16:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Feb 2021 08:08:33 +0000 (03:08 -0500)
commit6dd03800b1afe4d3b6f26b0d20f2e1ecebf32b29
treeca9cff18ac8e0206d72ddcd1b825f2c539564ec8
parent2855f98265dc579bd2becb79ce0156d08e0df813
KVM: x86/mmu: Make dirty log size hook (PML) a value, not a function

Store the vendor-specific dirty log size in a variable, there's no need
to wrap it in a function since the value is constant after
hardware_setup() runs.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210213005015.1651772-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm-x86-ops.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/vmx/vmx.c