nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS
[qemu/ericb.git] / include / tcg / oversized-guest.h
blob641b9749ffcda70b1579fb0aa74846c5a8d8ca97
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Define TCG_OVERSIZED_GUEST
4 * Copyright (c) 2008 Fabrice Bellard
5 */
7 #ifndef EXEC_TCG_OVERSIZED_GUEST_H
8 #define EXEC_TCG_OVERSIZED_GUEST_H
10 #include "tcg-target-reg-bits.h"
11 #include "cpu-param.h"
14 * Oversized TCG guests make things like MTTCG hard
15 * as we can't use atomics for cputlb updates.
17 #if TARGET_LONG_BITS > TCG_TARGET_REG_BITS
18 #define TCG_OVERSIZED_GUEST 1
19 #else
20 #define TCG_OVERSIZED_GUEST 0
21 #endif
23 #endif