aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-23 13:57:20 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:17 +0100
commitfb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d (patch)
treed415dc91fd6395974e8abfc231b7caa4bb648553 /system
parentcbaae5338b62a6e005e9a97f419b968e04a7004f (diff)
downloadqemu-fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d.zip
qemu-fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d.tar.gz
qemu-fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d.tar.bz2
accel/tcg: Restrict 'icount_align_option' global to TCG
Since commit 740b1759734 ("cpu-timers, icount: new modules") we don't need to expose icount_align_option to all the system code, we can restrict it to TCG. Since it is used as a boolean, declare it as 'bool' type. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250123234415.59850-10-philmd@linaro.org>
Diffstat (limited to 'system')
-rw-r--r--system/globals.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/globals.c b/system/globals.c
index 316623b..9640c95 100644
--- a/system/globals.c
+++ b/system/globals.c
@@ -58,7 +58,6 @@ unsigned int nb_prom_envs;
const char *prom_envs[MAX_PROM_ENVS];
uint8_t *boot_splash_filedata;
int only_migratable; /* turn it off unless user states otherwise */
-int icount_align_option;
/* The bytes in qemu_uuid are in the order specified by RFC4122, _not_ in the
* little-endian "wire format" described in the SMBIOS 2.6 specification.