summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/tlb.c
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2016-07-30 01:56:53 (GMT)
committerRadim Krčmář <rkrcmar@redhat.com>2016-08-01 13:14:24 (GMT)
commitb80c76ec982c00f2a15668ed71c1d705b6ff95fd (patch)
tree67ab1b8159cfbb84f03022097739c24a54ae7c18 /arch/mips/kvm/tlb.c
parent4f2777bc97974b0df9276ee9a85155a9e27a5282 (diff)
downloadlinux-b80c76ec982c00f2a15668ed71c1d705b6ff95fd.tar.xz
KVM: VMX: Add VMCS to CPU's loaded VMCSs before VMPTRLD
Kexec needs to know the addresses of all VMCSs that are active on each CPU, so that it can flush them from the VMCS caches. It is safe to record superfluous addresses that are not associated with an active VMCS, but it is not safe to omit an address associated with an active VMCS. After a call to vmcs_load, the VMCS that was loaded is active on the CPU. The VMCS should be added to the CPU's list of active VMCSs before it is loaded. Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/mips/kvm/tlb.c')
0 files changed, 0 insertions, 0 deletions