kvm/i386: make kvm_filter_msr() and related definitions private to kvm module
authorAni Sinha <anisinha@redhat.com>
Tue, 3 Sep 2024 14:00:45 +0000 (19:30 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Oct 2024 10:58:46 +0000 (12:58 +0200)
commited2880f4e93bf83106ebdc8562a5ee4d93285a3b
treedf824af9b472527ad5afbcc8e95ce2ed82110799
parenta711afbbdbe9e7450d35b2aa2484e55eda90ea20
kvm/i386: make kvm_filter_msr() and related definitions private to kvm module

kvm_filer_msr() is only used from i386 kvm module. Make it static so that its
easy for developers to understand that its not used anywhere else.
Same for QEMURDMSRHandler, QEMUWRMSRHandler and KVMMSRHandlers definitions.

CC: philmd@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Link: https://lore.kernel.org/r/20240903140045.41167-1-anisinha@redhat.com
[Make struct unnamed. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm/kvm.c
target/i386/kvm/kvm_i386.h