diff options
| author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2026-11-01 20:58:11 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-11-20 13:25:18 +0530 |
| commit | d76620d9e2ce87963b993a44acae7ce1a47eca24 (patch) | |
| tree | 9bc1634179b255aba3f9a8e2183aeacf5c69f043 /rust/kernel/alloc | |
| parent | b8c0f82d60c7d149b271cec9364ffb815866cc80 (diff) | |
KVM: PPC: Book3S HV: Fix error handling during vcore create
kvmppc_vcore_create() can fail and return NULL, this patch fixes the
error handling when this happens.
vcore and online_vcores count should only be updated when vcore was
actually created, otherwise it's state gets messed up for the VM run.
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20f3d8cc8d5dc36872873cec4c8cb48a68e46354.1793546707.git.ritesh.list@gmail.com
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
