aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/hw_accel.h
diff options
context:
space:
mode:
authorRoman Bolshakov <r.bolshakov@yadro.com>2020-06-30 13:28:18 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-10 18:02:18 -0400
commit5536c98e449fe832c6cb59612baf0f2936fb436d (patch)
tree51d8c23d792f7864e67b4b6836f80dc634463397 /include/sysemu/hw_accel.h
parent4bb19f98d34302d627a1267b608de4df6d0988f9 (diff)
i386: hvf: Add hvf_cpu_synchronize_pre_loadvm()
hvf lacks an implementation of cpu_synchronize_pre_loadvm(). Cc: Cameron Esfahani <dirty@apple.com> Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200630102824.77604-4-r.bolshakov@yadro.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/hw_accel.h')
-rw-r--r--include/sysemu/hw_accel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysemu/hw_accel.h b/include/sysemu/hw_accel.h
index 80bce75921..e128f8b06b 100644
--- a/include/sysemu/hw_accel.h
+++ b/include/sysemu/hw_accel.h
@@ -73,6 +73,9 @@ static inline void cpu_synchronize_pre_loadvm(CPUState *cpu)
if (hax_enabled()) {
hax_cpu_synchronize_pre_loadvm(cpu);
}
+ if (hvf_enabled()) {
+ hvf_cpu_synchronize_pre_loadvm(cpu);
+ }
if (whpx_enabled()) {
whpx_cpu_synchronize_pre_loadvm(cpu);
}