Li RongQing dd58f3c95c KVM: fix error handling in svm_hardware_setup
rename svm_hardware_unsetup as svm_hardware_teardown, move
it before svm_hardware_setup, and call it to free all memory
if fail to setup in svm_hardware_setup, otherwise memory will
be leaked

remove __exit attribute for it since it is called in __init
function

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-23 09:34:26 +01:00
..
2020-02-09 16:05:50 -08:00
2020-02-04 03:05:24 +00:00
2020-02-09 16:05:50 -08:00
2020-02-09 16:05:50 -08:00
2020-02-04 11:58:07 +00:00
2020-02-04 11:58:07 +00:00
2020-02-09 16:05:50 -08:00
2020-02-09 16:05:50 -08:00
2020-02-04 11:58:07 +00:00
2020-02-09 16:05:50 -08:00
2020-02-09 16:05:50 -08:00
2020-02-07 12:22:29 -08:00