master
c 24 lines 519 Bytes
Raw
1 /*
2 * HVF stubs for QEMU
3 *
4 * Copyright (c) Linaro
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #include "qemu/osdep.h"
10 #include "system/hvf.h"
11
12 bool hvf_allowed;
13 bool hvf_kernel_irqchip;
14 bool hvf_nested_virt;
15
16 void hvf_nested_virt_enable(bool nested_virt)
17 {
18 /*
19 * This is called unconditionally from hw/arm/virt.c
20 * because we don't know if HVF is going to be used
21 * as that step of initialisation happens later.
22 * As such, do nothing here instead of marking as unreachable.
23 */
24 }