KVM: arm64: Add a helper to check if a VM has ran once

The test_bit(...) pattern is quite a lot of keystrokes. Replace
existing callsites with a helper.

No functional change intended.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230404154050.2270077-3-oliver.upton@linux.dev
This commit is contained in:
Oliver Upton 2023-04-04 15:40:39 +00:00 • committed by Marc Zyngier
commit de40bb8abb
3 changed files with 6 additions and 4 deletions