block: Manipulate bs->file / bs->backing pointers in .attach/.detach
[qemu/armbru.git] / include / sysemu / tcg.h
blob53352450ff6b292165eaf290dcf768fea7d6912a
1 /*
2 * QEMU TCG support
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef SYSEMU_TCG_H
9 #define SYSEMU_TCG_H
11 #ifdef CONFIG_TCG
12 extern bool tcg_allowed;
13 #define tcg_enabled() (tcg_allowed)
14 #else
15 #define tcg_enabled() 0
16 #endif
18 #endif