Re: [PATCH v12 01/31] LoongArch: KVM: Add kvm related header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/5/23 07:00, Huacai Chen wrote:
I found something like this in our internal repo.

#define KVM_CAP_LOONGARCH_FPU 228
#define KVM_CAP_LOONGARCH_LSX 229
#define KVM_CAP_LOONGARCH_VZ 230
#define KVM_LOONGARCH_GET_VCPU_STATE    _IOR(KVMIO,   0xd0, struct
kvm_loongarch_vcpu_state)
#define KVM_LOONGARCH_SET_VCPU_STATE    _IOW(KVMIO,   0xd1, struct
kvm_loongarch_vcpu_state)
#define KVM_LOONGARCH_GET_CPUCFG           _IOR(KVMIO,   0xd2, struct
kvm_cpucfg)
#define KVM_LOONGARCH_GET_IOCSR              _IOR(KVMIO,   0xd3,
struct kvm_iocsr_entry)
#define KVM_LOONGARCH_SET_IOCSR              _IOW(KVMIO,   0xd4,
struct kvm_iocsr_entry)
#define KVM_LOONGARCH_SET_CPUCFG           _IOR(KVMIO,   0xd5, struct
kvm_cpucfg)

These are all UAPI definitions, if they are needed (at present or in
future), they should be merged in the first wave of KVM.

No, dead definitions should never be mergd.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux