KVM: MIPS: clean up redundant 'kvm_run' parameters
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tue, 23 Jun 2020 13:14:17 +0000 (21:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 08:26:41 +0000 (04:26 -0400)
commitc34b26b98caca48ec9ee981d4a89ac4f73376a3a
tree800063ac2759422c57bb5c04fb950d86f1464890
parent74cc7e0c35c1e4d7ccad27bc31c526ea0916696a
KVM: MIPS: clean up redundant 'kvm_run' parameters

In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu'
structure. For historical reasons, many kvm-related function parameters
retain the 'kvm_run' and 'kvm_vcpu' parameters at the same time. This
patch does a unified cleanup of these remaining redundant parameters.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Message-Id: <20200623131418.31473-5-tianjia.zhang@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mips.c
arch/mips/kvm/trap_emul.c
arch/mips/kvm/vz.c