linux/arch/s390/kvm
Marcelo Tosatti 6474920477 KVM: fix cleanup_srcu_struct on vm destruction
cleanup_srcu_struct on VM destruction remains broken:

BUG: unable to handle kernel paging request at ffffffffffffffff
IP: [<ffffffff802533d2>] srcu_read_lock+0x16/0x21
RIP: 0010:[<ffffffff802533d2>]  [<ffffffff802533d2>] srcu_read_lock+0x16/0x21
Call Trace:
 [<ffffffffa05354c4>] kvm_arch_vcpu_uninit+0x1b/0x48 [kvm]
 [<ffffffffa05339c6>] kvm_vcpu_uninit+0x9/0x15 [kvm]
 [<ffffffffa0569f7d>] vmx_free_vcpu+0x7f/0x8f [kvm_intel]
 [<ffffffffa05357b5>] kvm_arch_destroy_vm+0x78/0x111 [kvm]
 [<ffffffffa053315b>] kvm_put_kvm+0xd4/0xfe [kvm]

Move it to kvm_arch_destroy_vm.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
2010-03-01 12:36:01 -03:00
..
diag.c [S390] Replace ENOTSUPP usage with EOPNOTSUPP 2010-02-26 22:37:31 +01:00
gaccess.h KVM: s390: streamline memslot handling 2009-09-10 08:32:42 +03:00
intercept.c [S390] Replace ENOTSUPP usage with EOPNOTSUPP 2010-02-26 22:37:31 +01:00
interrupt.c [S390] Cleanup struct _lowcore usage and defines. 2010-02-26 22:37:31 +01:00
Kconfig [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
kvm-s390.c KVM: fix cleanup_srcu_struct on vm destruction 2010-03-01 12:36:01 -03:00
kvm-s390.h KVM: switch vcpu context to use SRCU 2010-03-01 12:35:45 -03:00
Makefile KVM: s390: intercepts for diagnose instructions 2008-04-27 12:00:46 +03:00
priv.c [S390] Replace ENOTSUPP usage with EOPNOTSUPP 2010-02-26 22:37:31 +01:00
sie64a.S KVM: s390: arch backend for the kvm kernel module 2008-04-27 12:00:42 +03:00
sigp.c [S390] Replace ENOTSUPP usage with EOPNOTSUPP 2010-02-26 22:37:31 +01:00