Lines Matching refs:KVMIO
74 #define __KVM_DEPRECATED_MAIN_W_0x06 _IOW(KVMIO, 0x06, struct kvm_user_trace_setup)
75 #define __KVM_DEPRECATED_MAIN_0x07 _IO(KVMIO, 0x07)
76 #define __KVM_DEPRECATED_MAIN_0x08 _IO(KVMIO, 0x08)
77 #define __KVM_DEPRECATED_VM_R_0x70 _IOR(KVMIO, 0x70, struct kvm_assigned_irq)
92 #define __KVM_DEPRECATED_VCPU_W_0x87 _IOW(KVMIO, 0x87, struct kvm_debug_guest)
477 #define KVMIO 0xAE
484 #define KVM_GET_API_VERSION _IO(KVMIO, 0x00)
485 #define KVM_CREATE_VM _IO(KVMIO, 0x01)
486 #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list)
487 #define KVM_S390_ENABLE_SIE _IO(KVMIO, 0x06)
489 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03)
490 #define KVM_GET_VCPU_MMAP_SIZE _IO(KVMIO, 0x04)
491 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
496 #define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
821 #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
822 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
824 #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
825 #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
826 #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
827 #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
829 #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, struct kvm_userspace_memory_region)
830 #define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
831 #define KVM_SET_IDENTITY_MAP_ADDR _IOW(KVMIO, 0x48, __u64)
839 #define KVM_S390_UCAS_MAP _IOW(KVMIO, 0x50, struct kvm_s390_ucas_mapping)
840 #define KVM_S390_UCAS_UNMAP _IOW(KVMIO, 0x51, struct kvm_s390_ucas_mapping)
841 #define KVM_S390_VCPU_FAULT _IOW(KVMIO, 0x52, unsigned long)
842 #define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
844 #define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)
845 #define KVM_GET_IRQCHIP _IOWR(KVMIO, 0x62, struct kvm_irqchip)
846 #define KVM_SET_IRQCHIP _IOR(KVMIO, 0x63, struct kvm_irqchip)
847 #define KVM_CREATE_PIT _IO(KVMIO, 0x64)
849 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
850 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
851 #define KVM_IRQ_LINE_STATUS _IOWR(KVMIO, 0x67, struct kvm_irq_level)
852 #define KVM_REGISTER_COALESCED_MMIO _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
854 #define KVM_UNREGISTER_COALESCED_MMIO _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
855 #define KVM_ASSIGN_PCI_DEVICE _IOR(KVMIO, 0x69, struct kvm_assigned_pci_dev)
856 #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct kvm_irq_routing)
859 #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
860 #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
861 #define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, struct kvm_assigned_pci_dev)
862 #define KVM_ASSIGN_SET_MSIX_NR _IOW(KVMIO, 0x73, struct kvm_assigned_msix_nr)
864 #define KVM_ASSIGN_SET_MSIX_ENTRY _IOW(KVMIO, 0x74, struct kvm_assigned_msix_entry)
865 #define KVM_DEASSIGN_DEV_IRQ _IOW(KVMIO, 0x75, struct kvm_assigned_irq)
866 #define KVM_IRQFD _IOW(KVMIO, 0x76, struct kvm_irqfd)
867 #define KVM_CREATE_PIT2 _IOW(KVMIO, 0x77, struct kvm_pit_config)
869 #define KVM_SET_BOOT_CPU_ID _IO(KVMIO, 0x78)
870 #define KVM_IOEVENTFD _IOW(KVMIO, 0x79, struct kvm_ioeventfd)
871 #define KVM_XEN_HVM_CONFIG _IOW(KVMIO, 0x7a, struct kvm_xen_hvm_config)
872 #define KVM_SET_CLOCK _IOW(KVMIO, 0x7b, struct kvm_clock_data)
874 #define KVM_GET_CLOCK _IOR(KVMIO, 0x7c, struct kvm_clock_data)
875 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
876 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
877 #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo)
879 #define KVM_SET_TSC_KHZ _IO(KVMIO, 0xa2)
880 #define KVM_GET_TSC_KHZ _IO(KVMIO, 0xa3)
881 #define KVM_ASSIGN_SET_INTX_MASK _IOW(KVMIO, 0xa4, struct kvm_assigned_pci_dev)
882 #define KVM_SIGNAL_MSI _IOW(KVMIO, 0xa5, struct kvm_msi)
884 #define KVM_PPC_GET_SMMU_INFO _IOR(KVMIO, 0xa6, struct kvm_ppc_smmu_info)
885 KVMIO, 0xa7, __u32)
886 #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct kvm_create_spapr_tce)
887 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)
889 #define KVM_PPC_GET_HTAB_FD _IOW(KVMIO, 0xaa, struct kvm_get_htab_fd)
890 #define KVM_ARM_SET_DEVICE_ADDR _IOW(KVMIO, 0xab, struct kvm_arm_device_addr)
891 #define KVM_PPC_RTAS_DEFINE_TOKEN _IOW(KVMIO, 0xac, struct kvm_rtas_token_args)
892 #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device)
894 #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr)
895 #define KVM_GET_DEVICE_ATTR _IOW(KVMIO, 0xe2, struct kvm_device_attr)
896 #define KVM_HAS_DEVICE_ATTR _IOW(KVMIO, 0xe3, struct kvm_device_attr)
897 #define KVM_RUN _IO(KVMIO, 0x80)
899 #define KVM_GET_REGS _IOR(KVMIO, 0x81, struct kvm_regs)
900 #define KVM_SET_REGS _IOW(KVMIO, 0x82, struct kvm_regs)
901 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
902 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
904 #define KVM_TRANSLATE _IOWR(KVMIO, 0x85, struct kvm_translation)
905 #define KVM_INTERRUPT _IOW(KVMIO, 0x86, struct kvm_interrupt)
907 #define KVM_GET_MSRS _IOWR(KVMIO, 0x88, struct kvm_msrs)
909 #define KVM_SET_MSRS _IOW(KVMIO, 0x89, struct kvm_msrs)
910 #define KVM_SET_CPUID _IOW(KVMIO, 0x8a, struct kvm_cpuid)
911 #define KVM_SET_SIGNAL_MASK _IOW(KVMIO, 0x8b, struct kvm_signal_mask)
912 #define KVM_GET_FPU _IOR(KVMIO, 0x8c, struct kvm_fpu)
914 #define KVM_SET_FPU _IOW(KVMIO, 0x8d, struct kvm_fpu)
915 #define KVM_GET_LAPIC _IOR(KVMIO, 0x8e, struct kvm_lapic_state)
916 #define KVM_SET_LAPIC _IOW(KVMIO, 0x8f, struct kvm_lapic_state)
917 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
919 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
920 #define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
921 #define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
922 #define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
926 #define KVM_S390_STORE_STATUS _IOW(KVMIO, 0x95, unsigned long)
927 #define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
929 #define KVM_S390_INITIAL_RESET _IO(KVMIO, 0x97)
930 #define KVM_GET_MP_STATE _IOR(KVMIO, 0x98, struct kvm_mp_state)
931 #define KVM_SET_MP_STATE _IOW(KVMIO, 0x99, struct kvm_mp_state)
932 #define KVM_NMI _IO(KVMIO, 0x9a)
934 #define KVM_SET_GUEST_DEBUG _IOW(KVMIO, 0x9b, struct kvm_guest_debug)
935 #define KVM_X86_SETUP_MCE _IOW(KVMIO, 0x9c, __u64)
936 #define KVM_X86_GET_MCE_CAP_SUPPORTED _IOR(KVMIO, 0x9d, __u64)
937 #define KVM_X86_SET_MCE _IOW(KVMIO, 0x9e, struct kvm_x86_mce)
939 #define KVM_IA64_VCPU_GET_STACK _IOR(KVMIO, 0x9a, void *)
940 #define KVM_IA64_VCPU_SET_STACK _IOW(KVMIO, 0x9b, void *)
941 #define KVM_GET_VCPU_EVENTS _IOR(KVMIO, 0x9f, struct kvm_vcpu_events)
942 #define KVM_SET_VCPU_EVENTS _IOW(KVMIO, 0xa0, struct kvm_vcpu_events)
944 #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs)
945 #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs)
946 #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)
947 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
949 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
950 #define KVM_GET_XCRS _IOR(KVMIO, 0xa6, struct kvm_xcrs)
951 #define KVM_SET_XCRS _IOW(KVMIO, 0xa7, struct kvm_xcrs)
952 #define KVM_DIRTY_TLB _IOW(KVMIO, 0xaa, struct kvm_dirty_tlb)
954 #define KVM_GET_ONE_REG _IOW(KVMIO, 0xab, struct kvm_one_reg)
955 #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg)
956 #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad)
957 #define KVM_ARM_VCPU_INIT _IOW(KVMIO, 0xae, struct kvm_vcpu_init)
959 #define KVM_ARM_PREFERRED_TARGET _IOR(KVMIO, 0xaf, struct kvm_vcpu_init)
960 #define KVM_GET_REG_LIST _IOWR(KVMIO, 0xb0, struct kvm_reg_list)