Exemplo n.º 1
0
Arquivo: cpus.c Projeto: tycho/qemu
void qemu_notify_event(void)
{
    CPUState *env = cpu_single_env;

    qemu_event_increment ();
    if (env) {
        cpu_exit(env);
    }
    if (next_cpu && env != next_cpu) {
        cpu_exit(next_cpu);
    }
}
Exemplo n.º 2
0
void qemu_notify_event(void)
{
    CPUState *env = cpu_single_env;

    if (kvm_enabled()) {
        qemu_kvm_notify_work();
        return;
    }

    qemu_event_increment ();
    if (env) {
        cpu_exit(env);
    }
    if (next_cpu && env != next_cpu) {
        cpu_exit(next_cpu);
    }
}
Exemplo n.º 3
0
void qemu_notify_event(void)
{
    qemu_event_increment();
}