diff options
author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2021-11-03 10:05:21 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:38 -0500 |
commit | 907afa48e9d0f24713a34135428d981e4239a3be (patch) | |
tree | 2b3bf8330f5444e1fccdeb42e443054f6912b48f /arch/x86/kvm/svm/svm.c | |
parent | 244893fa2859d656e2caf88683211604eb9afd37 (diff) | |
download | linux-907afa48e9d0f24713a34135428d981e4239a3be.tar.gz linux-907afa48e9d0f24713a34135428d981e4239a3be.tar.bz2 linux-907afa48e9d0f24713a34135428d981e4239a3be.zip |
KVM: nSVM: move nested_vmcb_check_cr3_cr4 logic in nested_vmcb_valid_sregs
Inline nested_vmcb_check_cr3_cr4 as it is not called by anyone else.
Doing so simplifies next patches.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20211103140527.752797-2-eesposit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions