aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hvf
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2021-09-16 17:53:57 +0200
committerPeter Maydell <peter.maydell@linaro.org>2021-09-20 09:57:03 +0100
commitce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d (patch)
tree0589ec09611fc791d558c9b4ef7411f49fecf99b /target/i386/hvf
parent5b3e7517246cbfdd7ea1f1b2a4637e308f1fdb83 (diff)
downloadqemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.zip
qemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.tar.gz
qemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.tar.bz2
hvf: Introduce hvf_arch_init() callback
We will need to install a migration helper for the ARM hvf backend. Let's introduce an arch callback for the overall hvf init chain to do so. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20210916155404.86958-4-agraf@csgraf.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/i386/hvf')
-rw-r--r--target/i386/hvf/hvf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c
index 79ba4ed..abef24a 100644
--- a/target/i386/hvf/hvf.c
+++ b/target/i386/hvf/hvf.c
@@ -206,6 +206,11 @@ static inline bool apic_bus_freq_is_known(CPUX86State *env)
return env->apic_bus_freq != 0;
}
+int hvf_arch_init(void)
+{
+ return 0;
+}
+
int hvf_arch_init_vcpu(CPUState *cpu)
{
X86CPU *x86cpu = X86_CPU(cpu);