commit | d329c035e754156ffabcb64ff75d05bb8e2ddbf5 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Wed Nov 26 14:50:27 2008 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Dec 31 16:55:03 2008 +0200 |
tree | 4417fc296c719f23e952076873cdb91a4c3c757d | |
parent | 6b7ad61ffb9ca110add6f7fb36cc8a4dd89696a4 [diff] |
KVM: s390: Fix refcounting and allow module unload Currently it is impossible to unload the kvm module on s390. This patch fixes kvm_arch_destroy_vm to release all cpus. This make it possible to unload the module. In addition we stop messing with the module refcount in arch code. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>