mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
a5b30be534
commit
2ef9faf037
1 changed files with 4 additions and 4 deletions
|
@ -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, ...) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue