Lines Matching refs:KVMIO
63 _IOW(KVMIO, 0x06, struct kvm_user_trace_setup)
64 #define __KVM_DEPRECATED_MAIN_0x07 _IO(KVMIO, 0x07)
65 #define __KVM_DEPRECATED_MAIN_0x08 _IO(KVMIO, 0x08)
67 #define __KVM_DEPRECATED_VM_R_0x70 _IOR(KVMIO, 0x70, struct kvm_assigned_irq)
82 #define __KVM_DEPRECATED_VCPU_W_0x87 _IOW(KVMIO, 0x87, struct kvm_debug_guest)
516 #define KVMIO 0xAE
530 #define KVM_GET_API_VERSION _IO(KVMIO, 0x00)
531 #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */
532 #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list)
534 #define KVM_S390_ENABLE_SIE _IO(KVMIO, 0x06)
539 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03)
543 #define KVM_GET_VCPU_MMAP_SIZE _IO(KVMIO, 0x04) /* in bytes */
544 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
548 #define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
862 #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
867 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
868 #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
870 #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
871 #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
872 #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
873 #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
875 #define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
876 #define KVM_SET_IDENTITY_MAP_ADDR _IOW(KVMIO, 0x48, __u64)
884 #define KVM_S390_UCAS_MAP _IOW(KVMIO, 0x50, struct kvm_s390_ucas_mapping)
885 #define KVM_S390_UCAS_UNMAP _IOW(KVMIO, 0x51, struct kvm_s390_ucas_mapping)
886 #define KVM_S390_VCPU_FAULT _IOW(KVMIO, 0x52, unsigned long)
889 #define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
890 #define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)
891 #define KVM_GET_IRQCHIP _IOWR(KVMIO, 0x62, struct kvm_irqchip)
892 #define KVM_SET_IRQCHIP _IOR(KVMIO, 0x63, struct kvm_irqchip)
893 #define KVM_CREATE_PIT _IO(KVMIO, 0x64)
894 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
895 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
896 #define KVM_IRQ_LINE_STATUS _IOWR(KVMIO, 0x67, struct kvm_irq_level)
898 _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
900 _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
901 #define KVM_ASSIGN_PCI_DEVICE _IOR(KVMIO, 0x69, \
903 #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct kvm_irq_routing)
906 #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
907 #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
908 #define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
910 #define KVM_ASSIGN_SET_MSIX_NR _IOW(KVMIO, 0x73, \
912 #define KVM_ASSIGN_SET_MSIX_ENTRY _IOW(KVMIO, 0x74, \
914 #define KVM_DEASSIGN_DEV_IRQ _IOW(KVMIO, 0x75, struct kvm_assigned_irq)
915 #define KVM_IRQFD _IOW(KVMIO, 0x76, struct kvm_irqfd)
916 #define KVM_CREATE_PIT2 _IOW(KVMIO, 0x77, struct kvm_pit_config)
917 #define KVM_SET_BOOT_CPU_ID _IO(KVMIO, 0x78)
918 #define KVM_IOEVENTFD _IOW(KVMIO, 0x79, struct kvm_ioeventfd)
919 #define KVM_XEN_HVM_CONFIG _IOW(KVMIO, 0x7a, struct kvm_xen_hvm_config)
920 #define KVM_SET_CLOCK _IOW(KVMIO, 0x7b, struct kvm_clock_data)
921 #define KVM_GET_CLOCK _IOR(KVMIO, 0x7c, struct kvm_clock_data)
923 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
924 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
926 #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo)
928 #define KVM_SET_TSC_KHZ _IO(KVMIO, 0xa2)
929 #define KVM_GET_TSC_KHZ _IO(KVMIO, 0xa3)
931 #define KVM_ASSIGN_SET_INTX_MASK _IOW(KVMIO, 0xa4, \
934 #define KVM_SIGNAL_MSI _IOW(KVMIO, 0xa5, struct kvm_msi)
936 #define KVM_PPC_GET_SMMU_INFO _IOR(KVMIO, 0xa6, struct kvm_ppc_smmu_info)
938 #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32)
939 #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct kvm_create_spapr_tce)
941 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)
943 #define KVM_PPC_GET_HTAB_FD _IOW(KVMIO, 0xaa, struct kvm_get_htab_fd)
945 #define KVM_ARM_SET_DEVICE_ADDR _IOW(KVMIO, 0xab, struct kvm_arm_device_addr)
947 #define KVM_PPC_RTAS_DEFINE_TOKEN _IOW(KVMIO, 0xac, struct kvm_rtas_token_args)
950 #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device)
953 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr)
954 #define KVM_GET_DEVICE_ATTR _IOW(KVMIO, 0xe2, struct kvm_device_attr)
955 #define KVM_HAS_DEVICE_ATTR _IOW(KVMIO, 0xe3, struct kvm_device_attr)
960 #define KVM_RUN _IO(KVMIO, 0x80)
961 #define KVM_GET_REGS _IOR(KVMIO, 0x81, struct kvm_regs)
962 #define KVM_SET_REGS _IOW(KVMIO, 0x82, struct kvm_regs)
963 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
964 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
965 #define KVM_TRANSLATE _IOWR(KVMIO, 0x85, struct kvm_translation)
966 #define KVM_INTERRUPT _IOW(KVMIO, 0x86, struct kvm_interrupt)
969 #define KVM_GET_MSRS _IOWR(KVMIO, 0x88, struct kvm_msrs)
970 #define KVM_SET_MSRS _IOW(KVMIO, 0x89, struct kvm_msrs)
971 #define KVM_SET_CPUID _IOW(KVMIO, 0x8a, struct kvm_cpuid)
972 #define KVM_SET_SIGNAL_MASK _IOW(KVMIO, 0x8b, struct kvm_signal_mask)
973 #define KVM_GET_FPU _IOR(KVMIO, 0x8c, struct kvm_fpu)
974 #define KVM_SET_FPU _IOW(KVMIO, 0x8d, struct kvm_fpu)
975 #define KVM_GET_LAPIC _IOR(KVMIO, 0x8e, struct kvm_lapic_state)
976 #define KVM_SET_LAPIC _IOW(KVMIO, 0x8f, struct kvm_lapic_state)
977 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
978 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
980 #define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
982 #define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
984 #define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
988 #define KVM_S390_STORE_STATUS _IOW(KVMIO, 0x95, unsigned long)
990 #define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
992 #define KVM_S390_INITIAL_RESET _IO(KVMIO, 0x97)
993 #define KVM_GET_MP_STATE _IOR(KVMIO, 0x98, struct kvm_mp_state)
994 #define KVM_SET_MP_STATE _IOW(KVMIO, 0x99, struct kvm_mp_state)
996 #define KVM_NMI _IO(KVMIO, 0x9a)
998 #define KVM_SET_GUEST_DEBUG _IOW(KVMIO, 0x9b, struct kvm_guest_debug)
1000 #define KVM_X86_SETUP_MCE _IOW(KVMIO, 0x9c, __u64)
1001 #define KVM_X86_GET_MCE_CAP_SUPPORTED _IOR(KVMIO, 0x9d, __u64)
1002 #define KVM_X86_SET_MCE _IOW(KVMIO, 0x9e, struct kvm_x86_mce)
1004 #define KVM_IA64_VCPU_GET_STACK _IOR(KVMIO, 0x9a, void *)
1005 #define KVM_IA64_VCPU_SET_STACK _IOW(KVMIO, 0x9b, void *)
1007 #define KVM_GET_VCPU_EVENTS _IOR(KVMIO, 0x9f, struct kvm_vcpu_events)
1008 #define KVM_SET_VCPU_EVENTS _IOW(KVMIO, 0xa0, struct kvm_vcpu_events)
1010 #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs)
1011 #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs)
1012 #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)
1014 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1015 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
1017 #define KVM_GET_XCRS _IOR(KVMIO, 0xa6, struct kvm_xcrs)
1018 #define KVM_SET_XCRS _IOW(KVMIO, 0xa7, struct kvm_xcrs)
1020 #define KVM_DIRTY_TLB _IOW(KVMIO, 0xaa, struct kvm_dirty_tlb)
1022 #define KVM_GET_ONE_REG _IOW(KVMIO, 0xab, struct kvm_one_reg)
1023 #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg)
1025 #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad)
1026 #define KVM_ARM_VCPU_INIT _IOW(KVMIO, 0xae, struct kvm_vcpu_init)
1027 #define KVM_ARM_PREFERRED_TARGET _IOR(KVMIO, 0xaf, struct kvm_vcpu_init)
1028 #define KVM_GET_REG_LIST _IOWR(KVMIO, 0xb0, struct kvm_reg_list)