示例#1
0
文件: cpus.c 项目: 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);
    }
}
示例#2
0
文件: cpus.c 项目: yujinyu/QEMU_PACER
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);
    }
}
示例#3
0
void qemu_notify_event(void)
{
    qemu_event_increment();
}