No longer used. Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- qemu-kvm-helper.c | 35 ----------------------------------- 1 files changed, 0 insertions(+), 35 deletions(-) delete mode 100644 qemu-kvm-helper.c diff --git a/qemu-kvm-helper.c b/qemu-kvm-helper.c deleted file mode 100644 index 915d664..0000000 --- a/qemu-kvm-helper.c +++ /dev/null @@ -1,35 +0,0 @@ - -#include "config.h" -#include "config-host.h" - -#include "exec.h" - -#include "qemu-kvm.h" - -void qemu_kvm_call_with_env(void (*func)(void *), void *data, CPUState *newenv) -{ - host_reg_t saved_env_reg; - CPUState *oldenv; - - oldenv = newenv; - - saved_env_reg = (host_reg_t) env; - env = newenv; - - func(data); - - env = oldenv; - asm(""); - env = (void *) saved_env_reg; -} - -static void call_helper_cpuid(void *junk) -{ - helper_cpuid(); -} - -void qemu_kvm_cpuid_on_env(CPUState *env) -{ - qemu_kvm_call_with_env(call_helper_cpuid, NULL, env); -} - -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html