diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-07-06 11:31:28 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-07-13 17:10:26 -0700 |
| commit | 9b36eda4dfe0bcd76233b3f1318b66478c1d0698 (patch) | |
| tree | 95bdd3958fad6e2990f972a93d215bb54b278447 /tools/perf/scripts/python/bin | |
| parent | 581829501360bda487b93ec7d7eff0da6296f187 (diff) | |
KVM: arm64: Remove unreachable early checks in pkvm_init_host_vm()
pkvm_init_host_vm() runs once from kvm_arch_init_vm(), while the VM is
still being allocated and is not yet reachable by another thread. Both
early checks therefore test impossible state: is_created is still false
(it is only set on first vCPU run) and the handle is still zero (this
function is what reserves it). Neither branch can be taken.
Remove them.
Reviewed-by: Keir Fraser <keirf@google.com>
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260706103129.706974-3-fuad.tabba@linux.dev
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
