diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-04-16 07:10:57 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-21 15:13:11 +0200 |
commit | 1b94f6f81007b4afaea3480ec018bc9236148961 (patch) | |
tree | 88efda43c748f5eb7dd191ff952f0fe9225d744f /lib/crypto/aes.c | |
parent | KVM: nSVM: Check for CR0.CD and CR0.NW on VMRUN of nested guests (diff) | |
download | linux-1b94f6f81007b4afaea3480ec018bc9236148961.tar.xz linux-1b94f6f81007b4afaea3480ec018bc9236148961.zip |
KVM: Remove redundant argument to kvm_arch_vcpu_ioctl_run
In earlier versions of kvm, 'kvm_run' was an independent structure
and was not included in the vcpu structure. At present, 'kvm_run'
is already included in the vcpu structure, so the parameter
'kvm_run' is redundant.
This patch simplifies the function definition, removes the extra
'kvm_run' parameter, and extracts it from the 'kvm_vcpu' structure
if necessary.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Message-Id: <20200416051057.26526-1-tianjia.zhang@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/crypto/aes.c')
0 files changed, 0 insertions, 0 deletions