aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-24 18:16:59 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-26 17:03:00 +0200
commite620363687d468530e00db59ea00f08e6f67eabc (patch)
tree0ca99496d6daaf8d065e9256a149e7f4d80acdd9 /include/sysemu
parent79f1926b2dfa25ac47adbdc0748dc5f951b55ac5 (diff)
downloadqemu-e620363687d468530e00db59ea00f08e6f67eabc.zip
qemu-e620363687d468530e00db59ea00f08e6f67eabc.tar.gz
qemu-e620363687d468530e00db59ea00f08e6f67eabc.tar.bz2
accel/hvf: Use accel-specific per-vcpu @dirty field
HVF has a specific use of the CPUState::vcpu_dirty field (CPUState::vcpu_dirty is not used by common code). To make this field accel-specific, add and use a new @dirty variable in the AccelCPUState structure. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240424174506.326-4-philmd@linaro.org>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/hvf_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/hvf_int.h b/include/sysemu/hvf_int.h
index 718bedd..4a327fd 100644
--- a/include/sysemu/hvf_int.h
+++ b/include/sysemu/hvf_int.h
@@ -55,6 +55,7 @@ struct AccelCPUState {
bool vtimer_masked;
sigset_t unblock_ipi_mask;
bool guest_debug_enabled;
+ bool dirty;
};
void assert_hvf_ok(hv_return_t ret);