commit | 2ac636a6ea4dae8260639e8df5c457c0c74cafa9 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <seanjc@google.com> | Thu Feb 04 16:57:45 2021 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 15 04:43:17 2021 -0400 |
tree | 1ccca8311e328dbdde9eb00a1294925ff7a87dab | |
parent | 3a87c7e0d176ff73c9ef5d58d89ad65f3be31d1b [diff] |
KVM: nSVM: Add VMLOAD/VMSAVE helper to deduplicate code Add another helper layer for VMLOAD+VMSAVE, the code is identical except for the one line that determines which VMCB is the source and which is the destination. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210205005750.3841462-5-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>