OSDN Git Service

sysemu/kvm: Restrict kvm_arch_get_supported_cpuid/msr() to x86 targets
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 4 Sep 2023 12:43:21 +0000 (14:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Sep 2023 11:32:37 +0000 (13:32 +0200)
commitf3f99d2ac195237174358fb8e4b91927f18f324a
treeac87b2bc7531906e028d986b639e7bf5afa80148
parent33bc5f1d32e84a9f85b4484e1a31d18743a95b40
sysemu/kvm: Restrict kvm_arch_get_supported_cpuid/msr() to x86 targets

kvm_arch_get_supported_cpuid() / kvm_arch_get_supported_msr_feature()
are only defined for x86 targets (in target/i386/kvm/kvm.c). Their
declarations are pointless on other targets.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904124325.79040-11-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/kvm.h
target/i386/kvm/kvm_i386.h