Lines Matching refs:KVMIO
64 _IOW(KVMIO, 0x06, struct kvm_user_trace_setup)
65 #define __KVM_DEPRECATED_MAIN_0x07 _IO(KVMIO, 0x07)
66 #define __KVM_DEPRECATED_MAIN_0x08 _IO(KVMIO, 0x08)
68 #define __KVM_DEPRECATED_VM_R_0x70 _IOR(KVMIO, 0x70, struct kvm_assigned_irq)
83 #define __KVM_DEPRECATED_VCPU_W_0x87 _IOW(KVMIO, 0x87, struct kvm_debug_guest)
740 #define KVMIO 0xAE macro
759 #define KVM_GET_API_VERSION _IO(KVMIO, 0x00)
760 #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */
761 #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list)
763 #define KVM_S390_ENABLE_SIE _IO(KVMIO, 0x06)
768 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03)
772 #define KVM_GET_VCPU_MMAP_SIZE _IO(KVMIO, 0x04) /* in bytes */
773 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
777 #define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
778 #define KVM_GET_MSR_FEATURE_INDEX_LIST _IOWR(KVMIO, 0x0a, struct kvm_msr_list)
1193 #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
1198 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
1199 #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
1201 #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
1202 #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
1203 #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
1204 #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
1206 #define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
1207 #define KVM_SET_IDENTITY_MAP_ADDR _IOW(KVMIO, 0x48, __u64)
1215 #define KVM_S390_UCAS_MAP _IOW(KVMIO, 0x50, struct kvm_s390_ucas_mapping)
1216 #define KVM_S390_UCAS_UNMAP _IOW(KVMIO, 0x51, struct kvm_s390_ucas_mapping)
1217 #define KVM_S390_VCPU_FAULT _IOW(KVMIO, 0x52, unsigned long)
1220 #define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
1221 #define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)
1222 #define KVM_GET_IRQCHIP _IOWR(KVMIO, 0x62, struct kvm_irqchip)
1223 #define KVM_SET_IRQCHIP _IOR(KVMIO, 0x63, struct kvm_irqchip)
1224 #define KVM_CREATE_PIT _IO(KVMIO, 0x64)
1225 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
1226 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
1227 #define KVM_IRQ_LINE_STATUS _IOWR(KVMIO, 0x67, struct kvm_irq_level)
1229 _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
1231 _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
1232 #define KVM_ASSIGN_PCI_DEVICE _IOR(KVMIO, 0x69, \
1234 #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct kvm_irq_routing)
1237 #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
1238 #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
1239 #define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
1241 #define KVM_ASSIGN_SET_MSIX_NR _IOW(KVMIO, 0x73, \
1243 #define KVM_ASSIGN_SET_MSIX_ENTRY _IOW(KVMIO, 0x74, \
1245 #define KVM_DEASSIGN_DEV_IRQ _IOW(KVMIO, 0x75, struct kvm_assigned_irq)
1246 #define KVM_IRQFD _IOW(KVMIO, 0x76, struct kvm_irqfd)
1247 #define KVM_CREATE_PIT2 _IOW(KVMIO, 0x77, struct kvm_pit_config)
1248 #define KVM_SET_BOOT_CPU_ID _IO(KVMIO, 0x78)
1249 #define KVM_IOEVENTFD _IOW(KVMIO, 0x79, struct kvm_ioeventfd)
1250 #define KVM_XEN_HVM_CONFIG _IOW(KVMIO, 0x7a, struct kvm_xen_hvm_config)
1251 #define KVM_SET_CLOCK _IOW(KVMIO, 0x7b, struct kvm_clock_data)
1252 #define KVM_GET_CLOCK _IOR(KVMIO, 0x7c, struct kvm_clock_data)
1254 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
1255 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
1257 #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo)
1259 #define KVM_SET_TSC_KHZ _IO(KVMIO, 0xa2)
1260 #define KVM_GET_TSC_KHZ _IO(KVMIO, 0xa3)
1262 #define KVM_ASSIGN_SET_INTX_MASK _IOW(KVMIO, 0xa4, \
1265 #define KVM_SIGNAL_MSI _IOW(KVMIO, 0xa5, struct kvm_msi)
1267 #define KVM_PPC_GET_SMMU_INFO _IOR(KVMIO, 0xa6, struct kvm_ppc_smmu_info)
1269 #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32)
1270 #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct kvm_create_spapr_tce)
1271 #define KVM_CREATE_SPAPR_TCE_64 _IOW(KVMIO, 0xa8, \
1274 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)
1276 #define KVM_PPC_GET_HTAB_FD _IOW(KVMIO, 0xaa, struct kvm_get_htab_fd)
1278 #define KVM_ARM_SET_DEVICE_ADDR _IOW(KVMIO, 0xab, struct kvm_arm_device_addr)
1280 #define KVM_PPC_RTAS_DEFINE_TOKEN _IOW(KVMIO, 0xac, struct kvm_rtas_token_args)
1282 #define KVM_PPC_RESIZE_HPT_PREPARE _IOR(KVMIO, 0xad, struct kvm_ppc_resize_hpt)
1283 #define KVM_PPC_RESIZE_HPT_COMMIT _IOR(KVMIO, 0xae, struct kvm_ppc_resize_hpt)
1285 #define KVM_PPC_CONFIGURE_V3_MMU _IOW(KVMIO, 0xaf, struct kvm_ppc_mmuv3_cfg)
1287 #define KVM_PPC_GET_RMMU_INFO _IOW(KVMIO, 0xb0, struct kvm_ppc_rmmu_info)
1289 #define KVM_PPC_GET_CPU_CHAR _IOR(KVMIO, 0xb1, struct kvm_ppc_cpu_char)
1292 #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device)
1295 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr)
1296 #define KVM_GET_DEVICE_ATTR _IOW(KVMIO, 0xe2, struct kvm_device_attr)
1297 #define KVM_HAS_DEVICE_ATTR _IOW(KVMIO, 0xe3, struct kvm_device_attr)
1302 #define KVM_RUN _IO(KVMIO, 0x80)
1303 #define KVM_GET_REGS _IOR(KVMIO, 0x81, struct kvm_regs)
1304 #define KVM_SET_REGS _IOW(KVMIO, 0x82, struct kvm_regs)
1305 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
1306 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
1307 #define KVM_TRANSLATE _IOWR(KVMIO, 0x85, struct kvm_translation)
1308 #define KVM_INTERRUPT _IOW(KVMIO, 0x86, struct kvm_interrupt)
1311 #define KVM_GET_MSRS _IOWR(KVMIO, 0x88, struct kvm_msrs)
1312 #define KVM_SET_MSRS _IOW(KVMIO, 0x89, struct kvm_msrs)
1313 #define KVM_SET_CPUID _IOW(KVMIO, 0x8a, struct kvm_cpuid)
1314 #define KVM_SET_SIGNAL_MASK _IOW(KVMIO, 0x8b, struct kvm_signal_mask)
1315 #define KVM_GET_FPU _IOR(KVMIO, 0x8c, struct kvm_fpu)
1316 #define KVM_SET_FPU _IOW(KVMIO, 0x8d, struct kvm_fpu)
1317 #define KVM_GET_LAPIC _IOR(KVMIO, 0x8e, struct kvm_lapic_state)
1318 #define KVM_SET_LAPIC _IOW(KVMIO, 0x8f, struct kvm_lapic_state)
1319 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
1320 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
1322 #define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
1324 #define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
1326 #define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
1330 #define KVM_S390_STORE_STATUS _IOW(KVMIO, 0x95, unsigned long)
1332 #define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
1334 #define KVM_S390_INITIAL_RESET _IO(KVMIO, 0x97)
1335 #define KVM_GET_MP_STATE _IOR(KVMIO, 0x98, struct kvm_mp_state)
1336 #define KVM_SET_MP_STATE _IOW(KVMIO, 0x99, struct kvm_mp_state)
1338 #define KVM_NMI _IO(KVMIO, 0x9a)
1340 #define KVM_SET_GUEST_DEBUG _IOW(KVMIO, 0x9b, struct kvm_guest_debug)
1342 #define KVM_X86_SETUP_MCE _IOW(KVMIO, 0x9c, __u64)
1343 #define KVM_X86_GET_MCE_CAP_SUPPORTED _IOR(KVMIO, 0x9d, __u64)
1344 #define KVM_X86_SET_MCE _IOW(KVMIO, 0x9e, struct kvm_x86_mce)
1346 #define KVM_GET_VCPU_EVENTS _IOR(KVMIO, 0x9f, struct kvm_vcpu_events)
1347 #define KVM_SET_VCPU_EVENTS _IOW(KVMIO, 0xa0, struct kvm_vcpu_events)
1349 #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs)
1350 #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs)
1355 #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)
1357 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1358 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
1360 #define KVM_GET_XCRS _IOR(KVMIO, 0xa6, struct kvm_xcrs)
1361 #define KVM_SET_XCRS _IOW(KVMIO, 0xa7, struct kvm_xcrs)
1363 #define KVM_DIRTY_TLB _IOW(KVMIO, 0xaa, struct kvm_dirty_tlb)
1365 #define KVM_GET_ONE_REG _IOW(KVMIO, 0xab, struct kvm_one_reg)
1366 #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg)
1368 #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad)
1369 #define KVM_ARM_VCPU_INIT _IOW(KVMIO, 0xae, struct kvm_vcpu_init)
1370 #define KVM_ARM_PREFERRED_TARGET _IOR(KVMIO, 0xaf, struct kvm_vcpu_init)
1371 #define KVM_GET_REG_LIST _IOWR(KVMIO, 0xb0, struct kvm_reg_list)
1373 #define KVM_S390_MEM_OP _IOW(KVMIO, 0xb1, struct kvm_s390_mem_op)
1375 #define KVM_S390_GET_SKEYS _IOW(KVMIO, 0xb2, struct kvm_s390_skeys)
1376 #define KVM_S390_SET_SKEYS _IOW(KVMIO, 0xb3, struct kvm_s390_skeys)
1378 #define KVM_S390_IRQ _IOW(KVMIO, 0xb4, struct kvm_s390_irq)
1380 #define KVM_S390_SET_IRQ_STATE _IOW(KVMIO, 0xb5, struct kvm_s390_irq_state)
1381 #define KVM_S390_GET_IRQ_STATE _IOW(KVMIO, 0xb6, struct kvm_s390_irq_state)
1383 #define KVM_SMI _IO(KVMIO, 0xb7)
1385 #define KVM_S390_GET_CMMA_BITS _IOWR(KVMIO, 0xb8, struct kvm_s390_cmma_log)
1386 #define KVM_S390_SET_CMMA_BITS _IOW(KVMIO, 0xb9, struct kvm_s390_cmma_log)
1388 #define KVM_MEMORY_ENCRYPT_OP _IOWR(KVMIO, 0xba, unsigned long)
1395 #define KVM_MEMORY_ENCRYPT_REG_REGION _IOR(KVMIO, 0xbb, struct kvm_enc_region)
1396 #define KVM_MEMORY_ENCRYPT_UNREG_REGION _IOR(KVMIO, 0xbc, struct kvm_enc_region)
1399 #define KVM_HYPERV_EVENTFD _IOW(KVMIO, 0xbd, struct kvm_hyperv_eventfd)
1402 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1403 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)