diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2021-11-18 19:08:03 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:25:06 -0500 |
commit | 15ad9762d69fd8e40a4a51828c1d6b0c1b8fbea0 (patch) | |
tree | bedb6c5f7e79779e68054a8d0425d183a67ccc07 /arch/x86/kvm/vmx/posted_intr.h | |
parent | 3ab4ac877cfabd209d12cbd6af0aa02077bb778d (diff) |
KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()
The host CR3 in the vcpu thread can only be changed when scheduling.
Moving the code in vmx_prepare_switch_to_guest() makes the code
simpler.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211118110814.2568-5-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/posted_intr.h')
0 files changed, 0 insertions, 0 deletions