diff options
author | Sean Christopherson <seanjc@google.com> | 2022-12-01 00:09:34 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 21:48:37 +0100 |
commit | 9f1a4c004869d3c8061f286fec4d8096dd099b84 (patch) | |
tree | 9d06afe6dade1454fdac023cb05bba360aa53fe6 /virt/kvm/vfio.c | |
parent | KVM: Opt out of generic hardware enabling on s390 and PPC (diff) | |
download | linux-9f1a4c004869d3c8061f286fec4d8096dd099b84.tar.xz linux-9f1a4c004869d3c8061f286fec4d8096dd099b84.zip |
KVM: Clean up error labels in kvm_init()
Convert the last two "out" lables to "err" labels now that the dust has
settled, i.e. now that there are no more planned changes to the order
of things in kvm_init().
Use "err" instead of "out" as it's easier to describe what failed than it
is to describe what needs to be unwound, e.g. if allocating a per-CPU kick
mask fails, KVM needs to free any masks that were allocated, and of course
needs to unwind previous operations.
Reported-by: Chao Gao <chao.gao@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-51-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/vfio.c')
0 files changed, 0 insertions, 0 deletions