OSDN Git Service

target/ppc: Prohibit target specific KVM prototypes on user emulation
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 11 Sep 2023 21:16:40 +0000 (00:16 +0300)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 11:13:28 +0000 (12:13 +0100)
commitc6b8252c6d55a4db19a67c295f88b66158c6d94e
treed392b572e00ace1ac2f0dc8070ff4d574f570c46
parenta523b6761c32d62304037366717e0c2ede8bbf3b
target/ppc: Prohibit target specific KVM prototypes on user emulation

None of these target-specific prototypes should be used
by user emulation. Remove their declaration there, so we
get a compile failure if ever used (instead of having to
deal with linker and its possible optimizations, such
dead code removal).

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20231003070427.69621-5-philmd@linaro.org>
target/ppc/kvm_ppc.h