summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kvm_page_track.h
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2016-10-28 18:29:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-02 22:03:17 +0300
commit355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 (patch)
treeb234f5d9d0a148674735d909a74f56665ed293bd /arch/x86/include/asm/kvm_page_track.h
parentea26e4ec08d4727e3a9e48a6b74695861effcbd9 (diff)
downloadlinux-355f4fb1405ec29d0fac49b4d41fcd78cbd455d5.tar.xz
kvm: nVMX: VMCLEAR an active shadow VMCS after last use
After a successful VM-entry with the "VMCS shadowing" VM-execution control set, the shadow VMCS referenced by the VMCS link pointer field in the current VMCS becomes active on the logical processor. A VMCS that is made active on more than one logical processor may become corrupted. Therefore, before an active VMCS can be migrated to another logical processor, the first logical processor must execute a VMCLEAR for the active VMCS. VMCLEAR both ensures that all VMCS data are written to memory and makes the VMCS inactive. Signed-off-by: Jim Mattson <jmattson@google.com> Reviewed-By: David Matlack <dmatlack@google.com> Message-Id: <1477668579-22555-1-git-send-email-jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_page_track.h')
0 files changed, 0 insertions, 0 deletions