Update headers to retrieve new IOMMUFD capabilities (ATS not-supported), VFIO migration flags (VFIO_PRECOPY_INFO_REINIT flag and VFIO_DEVICE_FEATURE_MIG_PRECOPY_INFOv2), KVM caps for LoongArch and more. Cc: Avihai Horon <avihaih@nvidia.com> Cc: Song Gao <gaosong@loongson.cn> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Cornelia Huck <cohuck@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Song Gao <gaosong@loongson.cn> Link: https://lore.kernel.org/qemu-devel/20260521081409.1843075-1-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
24 lines
686 B
C
24 lines
686 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _ASM_KVM_PARA_H
|
|
#define _ASM_KVM_PARA_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
/*
|
|
* CPUCFG index area: 0x40000000 -- 0x400000ff
|
|
* SW emulation for KVM hypervirsor
|
|
*/
|
|
#define CPUCFG_KVM_BASE 0x40000000
|
|
#define CPUCFG_KVM_SIZE 0x100
|
|
#define CPUCFG_KVM_SIG (CPUCFG_KVM_BASE + 0)
|
|
#define KVM_SIGNATURE "KVM\0"
|
|
#define CPUCFG_KVM_FEATURE (CPUCFG_KVM_BASE + 4)
|
|
#define KVM_FEATURE_IPI 1
|
|
#define KVM_FEATURE_STEAL_TIME 2
|
|
#define KVM_FEATURE_PREEMPT 3
|
|
/* BIT 24 - 31 are features configurable by user space vmm */
|
|
#define KVM_FEATURE_VIRT_EXTIOI 24
|
|
#define KVM_FEATURE_USER_HCALL 25
|
|
|
|
#endif /* _ASM_KVM_PARA_H */
|