diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-04-24 16:28:28 -0700 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:09:58 +0200 |
commit | 2ef9faf03720a40eae7fc8956f1941dddfb0eea7 (patch) | |
tree | 1bbe20f93aacee97814d7e6ebd094eb9989e22b8 | |
parent | a5b30be534538dc6e44a68ce9734e45dd08f52ec (diff) | |
download | qemu-2ef9faf03720a40eae7fc8956f1941dddfb0eea7.zip qemu-2ef9faf03720a40eae7fc8956f1941dddfb0eea7.tar.gz qemu-2ef9faf03720a40eae7fc8956f1941dddfb0eea7.tar.bz2 |
system/kvm: make functions accessible from common code
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250424232829.141163-8-pierrick.bouvier@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r-- | include/system/kvm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/system/kvm.h b/include/system/kvm.h index 18811ca..b690dda 100644 --- a/include/system/kvm.h +++ b/include/system/kvm.h @@ -210,6 +210,10 @@ bool kvm_arm_supports_user_irq(void); int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr); int kvm_on_sigbus(int code, void *addr); +int kvm_check_extension(KVMState *s, unsigned int extension); + +int kvm_vm_ioctl(KVMState *s, unsigned long type, ...); + void kvm_flush_coalesced_mmio_buffer(void); #ifdef COMPILING_PER_TARGET @@ -237,8 +241,6 @@ static inline int kvm_update_guest_debug(CPUState *cpu, unsigned long reinject_t int kvm_ioctl(KVMState *s, unsigned long type, ...); -int kvm_vm_ioctl(KVMState *s, unsigned long type, ...); - int kvm_vcpu_ioctl(CPUState *cpu, unsigned long type, ...); /** @@ -441,8 +443,6 @@ void kvm_arch_update_guest_debug(CPUState *cpu, struct kvm_guest_debug *dbg); bool kvm_arch_stop_on_emulation_error(CPUState *cpu); -int kvm_check_extension(KVMState *s, unsigned int extension); - int kvm_vm_check_extension(KVMState *s, unsigned int extension); #define kvm_vm_enable_cap(s, capability, cap_flags, ...) \ |