diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2019-10-20 17:10:58 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-22 13:40:57 +0200 |
commit | 35fbe0d4ef9abb05a8c591481d0196edcb056bcc (patch) | |
tree | 8e2f06c131301599131fd9bcc67fb8f139418497 /arch/x86/kvm/ioapic.c | |
parent | 4be946728f65c10c9bb1a1580ec47a316f5ee6ac (diff) | |
download | linux-stable-35fbe0d4ef9abb05a8c591481d0196edcb056bcc.tar.gz |
KVM: VMX: Write VPID to vmcs when creating vcpu
Move the code that writes vmx->vpid to vmcs from vmx_vcpu_reset() to
vmx_vcpu_setup(), because vmx->vpid is allocated when creating vcpu and
never changed. So we don't need to update the vmcs.vpid when resetting
vcpu.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions