3 #include "config-host.h"
9 void qemu_kvm_call_with_env(void (*func
)(void *), void *data
, CPUState
*newenv
)
11 host_reg_t saved_env_reg
;
16 saved_env_reg
= (host_reg_t
) env
;
23 env
= (void *) saved_env_reg
;
26 static void call_helper_cpuid(void *junk
)
31 void qemu_kvm_cpuid_on_env(CPUState
*env
)
33 qemu_kvm_call_with_env(call_helper_cpuid
, NULL
, env
);