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)
760 #define KVMIO 0xAE macro
787 #define KVM_GET_API_VERSION _IO(KVMIO, 0x00)
788 #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */
789 #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list)
791 #define KVM_S390_ENABLE_SIE _IO(KVMIO, 0x06)
796 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03)
800 #define KVM_GET_VCPU_MMAP_SIZE _IO(KVMIO, 0x04) /* in bytes */
801 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
805 #define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
806 #define KVM_GET_MSR_FEATURE_INDEX_LIST _IOWR(KVMIO, 0x0a, struct kvm_msr_list)
1241 #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
1246 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
1247 #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
1249 #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
1250 #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
1251 #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
1252 #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
1254 #define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
1255 #define KVM_SET_IDENTITY_MAP_ADDR _IOW(KVMIO, 0x48, __u64)
1263 #define KVM_S390_UCAS_MAP _IOW(KVMIO, 0x50, struct kvm_s390_ucas_mapping)
1264 #define KVM_S390_UCAS_UNMAP _IOW(KVMIO, 0x51, struct kvm_s390_ucas_mapping)
1265 #define KVM_S390_VCPU_FAULT _IOW(KVMIO, 0x52, unsigned long)
1268 #define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
1269 #define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)
1270 #define KVM_GET_IRQCHIP _IOWR(KVMIO, 0x62, struct kvm_irqchip)
1271 #define KVM_SET_IRQCHIP _IOR(KVMIO, 0x63, struct kvm_irqchip)
1272 #define KVM_CREATE_PIT _IO(KVMIO, 0x64)
1273 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
1274 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
1275 #define KVM_IRQ_LINE_STATUS _IOWR(KVMIO, 0x67, struct kvm_irq_level)
1277 _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
1279 _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
1280 #define KVM_ASSIGN_PCI_DEVICE _IOR(KVMIO, 0x69, \
1282 #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct kvm_irq_routing)
1285 #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
1286 #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
1287 #define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
1289 #define KVM_ASSIGN_SET_MSIX_NR _IOW(KVMIO, 0x73, \
1291 #define KVM_ASSIGN_SET_MSIX_ENTRY _IOW(KVMIO, 0x74, \
1293 #define KVM_DEASSIGN_DEV_IRQ _IOW(KVMIO, 0x75, struct kvm_assigned_irq)
1294 #define KVM_IRQFD _IOW(KVMIO, 0x76, struct kvm_irqfd)
1295 #define KVM_CREATE_PIT2 _IOW(KVMIO, 0x77, struct kvm_pit_config)
1296 #define KVM_SET_BOOT_CPU_ID _IO(KVMIO, 0x78)
1297 #define KVM_IOEVENTFD _IOW(KVMIO, 0x79, struct kvm_ioeventfd)
1298 #define KVM_XEN_HVM_CONFIG _IOW(KVMIO, 0x7a, struct kvm_xen_hvm_config)
1299 #define KVM_SET_CLOCK _IOW(KVMIO, 0x7b, struct kvm_clock_data)
1300 #define KVM_GET_CLOCK _IOR(KVMIO, 0x7c, struct kvm_clock_data)
1302 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
1303 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
1305 #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo)
1307 #define KVM_SET_TSC_KHZ _IO(KVMIO, 0xa2)
1308 #define KVM_GET_TSC_KHZ _IO(KVMIO, 0xa3)
1310 #define KVM_ASSIGN_SET_INTX_MASK _IOW(KVMIO, 0xa4, \
1313 #define KVM_SIGNAL_MSI _IOW(KVMIO, 0xa5, struct kvm_msi)
1315 #define KVM_PPC_GET_SMMU_INFO _IOR(KVMIO, 0xa6, struct kvm_ppc_smmu_info)
1317 #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32)
1318 #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct kvm_create_spapr_tce)
1319 #define KVM_CREATE_SPAPR_TCE_64 _IOW(KVMIO, 0xa8, \
1322 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)
1324 #define KVM_PPC_GET_HTAB_FD _IOW(KVMIO, 0xaa, struct kvm_get_htab_fd)
1326 #define KVM_ARM_SET_DEVICE_ADDR _IOW(KVMIO, 0xab, struct kvm_arm_device_addr)
1328 #define KVM_PPC_RTAS_DEFINE_TOKEN _IOW(KVMIO, 0xac, struct kvm_rtas_token_args)
1330 #define KVM_PPC_RESIZE_HPT_PREPARE _IOR(KVMIO, 0xad, struct kvm_ppc_resize_hpt)
1331 #define KVM_PPC_RESIZE_HPT_COMMIT _IOR(KVMIO, 0xae, struct kvm_ppc_resize_hpt)
1333 #define KVM_PPC_CONFIGURE_V3_MMU _IOW(KVMIO, 0xaf, struct kvm_ppc_mmuv3_cfg)
1335 #define KVM_PPC_GET_RMMU_INFO _IOW(KVMIO, 0xb0, struct kvm_ppc_rmmu_info)
1337 #define KVM_PPC_GET_CPU_CHAR _IOR(KVMIO, 0xb1, struct kvm_ppc_cpu_char)
1339 #define KVM_SET_PMU_EVENT_FILTER _IOW(KVMIO, 0xb2, struct kvm_pmu_event_filter)
1342 #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device)
1345 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr)
1346 #define KVM_GET_DEVICE_ATTR _IOW(KVMIO, 0xe2, struct kvm_device_attr)
1347 #define KVM_HAS_DEVICE_ATTR _IOW(KVMIO, 0xe3, struct kvm_device_attr)
1352 #define KVM_RUN _IO(KVMIO, 0x80)
1353 #define KVM_GET_REGS _IOR(KVMIO, 0x81, struct kvm_regs)
1354 #define KVM_SET_REGS _IOW(KVMIO, 0x82, struct kvm_regs)
1355 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
1356 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
1357 #define KVM_TRANSLATE _IOWR(KVMIO, 0x85, struct kvm_translation)
1358 #define KVM_INTERRUPT _IOW(KVMIO, 0x86, struct kvm_interrupt)
1361 #define KVM_GET_MSRS _IOWR(KVMIO, 0x88, struct kvm_msrs)
1362 #define KVM_SET_MSRS _IOW(KVMIO, 0x89, struct kvm_msrs)
1363 #define KVM_SET_CPUID _IOW(KVMIO, 0x8a, struct kvm_cpuid)
1364 #define KVM_SET_SIGNAL_MASK _IOW(KVMIO, 0x8b, struct kvm_signal_mask)
1365 #define KVM_GET_FPU _IOR(KVMIO, 0x8c, struct kvm_fpu)
1366 #define KVM_SET_FPU _IOW(KVMIO, 0x8d, struct kvm_fpu)
1367 #define KVM_GET_LAPIC _IOR(KVMIO, 0x8e, struct kvm_lapic_state)
1368 #define KVM_SET_LAPIC _IOW(KVMIO, 0x8f, struct kvm_lapic_state)
1369 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
1370 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
1372 #define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
1374 #define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
1376 #define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
1380 #define KVM_S390_STORE_STATUS _IOW(KVMIO, 0x95, unsigned long)
1382 #define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
1384 #define KVM_S390_INITIAL_RESET _IO(KVMIO, 0x97)
1385 #define KVM_GET_MP_STATE _IOR(KVMIO, 0x98, struct kvm_mp_state)
1386 #define KVM_SET_MP_STATE _IOW(KVMIO, 0x99, struct kvm_mp_state)
1388 #define KVM_NMI _IO(KVMIO, 0x9a)
1390 #define KVM_SET_GUEST_DEBUG _IOW(KVMIO, 0x9b, struct kvm_guest_debug)
1392 #define KVM_X86_SETUP_MCE _IOW(KVMIO, 0x9c, __u64)
1393 #define KVM_X86_GET_MCE_CAP_SUPPORTED _IOR(KVMIO, 0x9d, __u64)
1394 #define KVM_X86_SET_MCE _IOW(KVMIO, 0x9e, struct kvm_x86_mce)
1396 #define KVM_GET_VCPU_EVENTS _IOR(KVMIO, 0x9f, struct kvm_vcpu_events)
1397 #define KVM_SET_VCPU_EVENTS _IOW(KVMIO, 0xa0, struct kvm_vcpu_events)
1399 #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs)
1400 #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs)
1405 #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)
1407 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1408 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
1410 #define KVM_GET_XCRS _IOR(KVMIO, 0xa6, struct kvm_xcrs)
1411 #define KVM_SET_XCRS _IOW(KVMIO, 0xa7, struct kvm_xcrs)
1413 #define KVM_DIRTY_TLB _IOW(KVMIO, 0xaa, struct kvm_dirty_tlb)
1415 #define KVM_GET_ONE_REG _IOW(KVMIO, 0xab, struct kvm_one_reg)
1416 #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg)
1418 #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad)
1419 #define KVM_ARM_VCPU_INIT _IOW(KVMIO, 0xae, struct kvm_vcpu_init)
1420 #define KVM_ARM_PREFERRED_TARGET _IOR(KVMIO, 0xaf, struct kvm_vcpu_init)
1421 #define KVM_GET_REG_LIST _IOWR(KVMIO, 0xb0, struct kvm_reg_list)
1423 #define KVM_S390_MEM_OP _IOW(KVMIO, 0xb1, struct kvm_s390_mem_op)
1425 #define KVM_S390_GET_SKEYS _IOW(KVMIO, 0xb2, struct kvm_s390_skeys)
1426 #define KVM_S390_SET_SKEYS _IOW(KVMIO, 0xb3, struct kvm_s390_skeys)
1428 #define KVM_S390_IRQ _IOW(KVMIO, 0xb4, struct kvm_s390_irq)
1430 #define KVM_S390_SET_IRQ_STATE _IOW(KVMIO, 0xb5, struct kvm_s390_irq_state)
1431 #define KVM_S390_GET_IRQ_STATE _IOW(KVMIO, 0xb6, struct kvm_s390_irq_state)
1433 #define KVM_SMI _IO(KVMIO, 0xb7)
1435 #define KVM_S390_GET_CMMA_BITS _IOWR(KVMIO, 0xb8, struct kvm_s390_cmma_log)
1436 #define KVM_S390_SET_CMMA_BITS _IOW(KVMIO, 0xb9, struct kvm_s390_cmma_log)
1438 #define KVM_MEMORY_ENCRYPT_OP _IOWR(KVMIO, 0xba, unsigned long)
1445 #define KVM_MEMORY_ENCRYPT_REG_REGION _IOR(KVMIO, 0xbb, struct kvm_enc_region)
1446 #define KVM_MEMORY_ENCRYPT_UNREG_REGION _IOR(KVMIO, 0xbc, struct kvm_enc_region)
1449 #define KVM_HYPERV_EVENTFD _IOW(KVMIO, 0xbd, struct kvm_hyperv_eventfd)
1452 #define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1453 #define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
1456 #define KVM_CLEAR_DIRTY_LOG _IOWR(KVMIO, 0xc0, struct kvm_clear_dirty_log)
1459 #define KVM_GET_SUPPORTED_HV_CPUID _IOWR(KVMIO, 0xc1, struct kvm_cpuid2)
1462 #define KVM_ARM_VCPU_FINALIZE _IOW(KVMIO, 0xc2, int)