summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2019-10-24 16:03:26 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-25 13:32:33 +0200
commit9121923c457d1d8667a6e3a67302c29e5c5add6b (patch)
tree821962f16d7e52fa2ce92eb0a942390bb614d01e /kernel/power
parent671ddc700fd08b94967b1e2a937020e30c838609 (diff)
downloadlinux-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