[PATCH v2 1/3] KVM: selftests: Add safe_halt() and cli() helpers to common code