accel/hax: Introduce CONFIG_HAX_IS_POSSIBLE
commitb04363c24055f3cc9a458bf723ebebdfbabb578c
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 3 Feb 2022 12:16:58 +0000 (3 13:16 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 6 Mar 2022 12:15:42 +0000 (6 13:15 +0100)
treebd5d3538a5318d7b1be766c0982857ac4d918545
parentf94bee49d2f391a8bf1b1f9a3353b7b9fdb8ca20
accel/hax: Introduce CONFIG_HAX_IS_POSSIBLE

Mirror "sysemu/kvm.h" #ifdef'ry to define CONFIG_HAX_IS_POSSIBLE,
expose hax_allowed to hax_enabled() macro.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-9-f4bug@amsat.org>
accel/stubs/hax-stub.c
include/sysemu/hax.h
target/i386/hax/hax-all.c