kernel_optimize_test/arch
Sean Christopherson ff72bb55cb KVM: s390: Manually invoke vcpu setup during kvm_arch_vcpu_create()
Rename kvm_arch_vcpu_setup() to kvm_s390_vcpu_setup() and manually call
the new function during kvm_arch_vcpu_create().  Define an empty
kvm_arch_vcpu_setup() as it's still required for compilation.  This
is effectively a nop as kvm_arch_vcpu_create() and kvm_arch_vcpu_setup()
are called back-to-back by common KVM code.  Obsoleting
kvm_arch_vcpu_setup() paves the way for its removal.

Note, gmap_remove() is now called if setup fails, as s390 was previously
freeing it via kvm_arch_vcpu_destroy(), which is called by common KVM
code if kvm_arch_vcpu_setup() fails.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-27 19:59:27 +01:00
..
alpha
arc
arm
arm64 mm/memory_hotplug: shrink zones when offlining memory 2020-01-04 13:55:08 -08:00
c6x
csky
h8300
hexagon hexagon: define ioremap_uc 2020-01-04 13:55:09 -08:00
ia64 mm/memory_hotplug: shrink zones when offlining memory 2020-01-04 13:55:08 -08:00
m68k
microblaze
mips KVM: MIPS: Move .vcpu_setup() call to kvm_arch_vcpu_create() 2020-01-27 19:59:26 +01:00
nds32
nios2
openrisc
parisc
powerpc KVM: Move vcpu alloc and init invocation to common code 2020-01-27 19:59:20 +01:00
riscv riscv: prefix IRQ_ macro names with an RV_ namespace 2020-01-04 21:48:59 -08:00
s390 KVM: s390: Manually invoke vcpu setup during kvm_arch_vcpu_create() 2020-01-27 19:59:27 +01:00
sh mm/memory_hotplug: shrink zones when offlining memory 2020-01-04 13:55:08 -08:00
sparc
um
unicore32
x86 KVM: x86: Move guts of kvm_arch_vcpu_setup() into kvm_arch_vcpu_create() 2020-01-27 19:59:25 +01:00
xtensa
.gitignore
Kconfig