]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: nSVM: Swap the parameter order for svm_copy_vmrun_state()/svm_copy_vmloadsave_st...
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 19 Jul 2021 09:03:22 +0000 (11:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jul 2021 12:09:46 +0000 (08:09 -0400)
commit2bb16bea5feaa582fbbdbfd84ecaa1ab61bbb34c
treeb67cbfefcbff28a53bd7bd1b14b76dc555a3ddb1
parent9a9e74819bb0e4694279fb437e136fe485878d25
KVM: nSVM: Swap the parameter order for svm_copy_vmrun_state()/svm_copy_vmloadsave_state()

Make svm_copy_vmrun_state()/svm_copy_vmloadsave_state() interface match
'memcpy(dest, src)' to avoid any confusion.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210719090322.625277-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h