diff options
| author | Mads Ynddal <m.ynddal@samsung.com> | 2025-04-02 15:52:28 +0200 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-06 15:01:22 +0100 |
| commit | 90f0078d023fc364c870188075f530f84f652758 (patch) | |
| tree | d6ffbfce826df8c495c8aff20988a18a15b7f2cb /docs/devel/secure-coding-practices.rst | |
| parent | 97cdd1b0a7a010702a1d118b74c3af3bb2edb35c (diff) | |
| download | focaccia-qemu-90f0078d023fc364c870188075f530f84f652758.tar.gz focaccia-qemu-90f0078d023fc364c870188075f530f84f652758.zip | |
hvf: avoid repeatedly setting trap debug for each cpu
hvf_arch_set_traps is already called from a context of a specific CPUState, so we don't need to do a nested CPU_FOREACH. It also results in an error from hv_vcpu_set_sys_reg, as it may only be called from the thread owning the vCPU. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2895 Tested-by: Daniel Gomez <da.gomez@samsung.com> Signed-off-by: Mads Ynddal <m.ynddal@samsung.com> Reported-by: Daniel Gomez <da.gomez@samsung.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20250402135229.28143-2-mads@ynddal.dk Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions