Beispiel #1
0
Datei: cpus.c Projekt: 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);
    }
}
Beispiel #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);
    }
}
Beispiel #3
0
void qemu_notify_event(void)
{
    qemu_event_increment();
}