aboutsummaryrefslogtreecommitdiffstats
path: root/target-i386/hax-all.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/hax-all.c')
-rw-r--r--target-i386/hax-all.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-i386/hax-all.c b/target-i386/hax-all.c
index 0c3b589..2c13250 100644
--- a/target-i386/hax-all.c
+++ b/target-i386/hax-all.c
@@ -340,6 +340,7 @@ int hax_set_ramsize(uint64_t ramsize)
int hax_init(int smp_cpus)
{
struct hax_state *hax = NULL;
+ struct hax_qemu_version qversion;
int ret;
hax_support = 0;
@@ -378,6 +379,9 @@ int hax_init(int smp_cpus)
goto error;
}
+ qversion.cur_version = hax_cur_version;
+ qversion.least_version = hax_lest_version;
+ hax_notify_qemu_version(hax->vm->fd, &qversion);
hax_support = 1;
qemu_register_reset( hax_reset_vcpu_state, 0, NULL);