Skip to content
Snippets Groups Projects
Commit 99ab4d50 authored by Eric Auger's avatar Eric Auger Committed by Richard Henderson
Browse files

accel/tcg: Test CPUJumpCache in tb_jmp_cache_clear_page


After commit 4e4fa6c1 ("accel/tcg: Complete cpu initialization
before registration"), it looks the CPUJumpCache pointer can be NULL.
This causes a SIGSEV when running debug-wp-migration kvm unit test.

At the first place it should be clarified why this TCG code is called
with KVM acceleration. This may hide another bug.

Fixes: 4e4fa6c1 ("accel/tcg: Complete cpu initialization before registration")
Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Message-Id: <20230203171510.2867451-1-eric.auger@redhat.com>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 579510e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment