virtio: introduce virtio_queue_reset()
[qemu.git] / accel / tcg / tcg-accel-ops.h
blobf9bc6330e2d0f401be59801e3c7f79466cb3557c
1 /*
2 * QEMU TCG vCPU common functionality
4 * Functionality common to all TCG vcpu variants: mttcg, rr and icount.
6 * Copyright 2020 SUSE LLC
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
12 #ifndef TCG_ACCEL_OPS_H
13 #define TCG_ACCEL_OPS_H
15 #include "sysemu/cpus.h"
17 void tcg_cpus_destroy(CPUState *cpu);
18 int tcg_cpus_exec(CPUState *cpu);
19 void tcg_handle_interrupt(CPUState *cpu, int mask);
20 void tcg_cpu_init_cflags(CPUState *cpu, bool parallel);
22 #endif /* TCG_ACCEL_OPS_H */