diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2024-05-06 09:19:12 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2024-05-09 15:18:48 +0800 |
| commit | 6f703a48410db455057cc90c170e908de83b23fc (patch) | |
| tree | 1c221efffeb2b8159eb7dc0679ac8f5d6725adf4 /ui/gtk.c | |
| parent | f532cf013133320045b8588c2f62fc847902fd18 (diff) | |
| download | focaccia-qemu-6f703a48410db455057cc90c170e908de83b23fc.tar.gz focaccia-qemu-6f703a48410db455057cc90c170e908de83b23fc.zip | |
target/loongarch: Add TCG macro in structure CPUArchState
In structure CPUArchState some struct elements are only used in TCG mode, and it is not used in KVM mode. Macro CONFIG_TCG is added to make it simpiler in KVM mode, also there is the same modification in c code when these structure elements are used. When VM runs in KVM mode, TLB entries are not used and do not need migrate. It is only useful when it runs in TCG mode. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240506011912.2108842-1-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'ui/gtk.c')
0 files changed, 0 insertions, 0 deletions