qapi: allow unions to contain further unions
[qemu/armbru.git] / accel / tcg / tcg-accel-ops-rr.h
blob2a76a296127e81edc61f45a59785a89705daae90
1 /*
2 * QEMU TCG Single Threaded vCPUs implementation
4 * Copyright 2020 SUSE LLC
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
10 #ifndef TCG_ACCEL_OPS_RR_H
11 #define TCG_ACCEL_OPS_RR_H
13 #define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
15 /* Kick all RR vCPUs. */
16 void rr_kick_vcpu_thread(CPUState *unused);
18 /* start the round robin vcpu thread */
19 void rr_start_vcpu_thread(CPUState *cpu);
21 #endif /* TCG_ACCEL_OPS_RR_H */