diff options
author | Jim Mattson <jmattson@google.com> | 2019-10-24 16:03:26 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-25 13:32:33 +0200 |
commit | 9121923c457d1d8667a6e3a67302c29e5c5add6b (patch) | |
tree | 821962f16d7e52fa2ce92eb0a942390bb614d01e /kernel/power | |
parent | 671ddc700fd08b94967b1e2a937020e30c838609 (diff) | |
download | linux-9121923c457d1d8667a6e3a67302c29e5c5add6b.tar.bz2 |
kvm: Allocate memslots and buses before calling kvm_arch_init_vm
This reorganization will allow us to call kvm_arch_destroy_vm in the
event that kvm_create_vm fails after calling kvm_arch_init_vm.
Suggested-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions