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)
432 #define KVMIO 0xAE
437 #define KVM_GET_API_VERSION _IO(KVMIO, 0x00)
438 #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */
439 #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list)
441 #define KVM_S390_ENABLE_SIE _IO(KVMIO, 0x06)
446 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03)
450 #define KVM_GET_VCPU_MMAP_SIZE _IO(KVMIO, 0x04) /* in bytes */
451 #define KVM_GET_SUPPORTED_CPUID _IOWR(KVMIO, 0x05, struct kvm_cpuid2)
643 #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
648 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
649 #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
651 #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
652 #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
653 #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
654 #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
656 #define KVM_SET_TSS_ADDR _IO(KVMIO, 0x47)
657 #define KVM_SET_IDENTITY_MAP_ADDR _IOW(KVMIO, 0x48, __u64)
659 #define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
660 #define KVM_IRQ_LINE _IOW(KVMIO, 0x61, struct kvm_irq_level)
661 #define KVM_GET_IRQCHIP _IOWR(KVMIO, 0x62, struct kvm_irqchip)
662 #define KVM_SET_IRQCHIP _IOR(KVMIO, 0x63, struct kvm_irqchip)
663 #define KVM_CREATE_PIT _IO(KVMIO, 0x64)
664 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
665 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
666 #define KVM_IRQ_LINE_STATUS _IOWR(KVMIO, 0x67, struct kvm_irq_level)
668 _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
670 _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
671 KVMIO, 0x69, \
673 #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct kvm_irq_routing)
676 #define KVM_ASSIGN_DEV_IRQ _IOW(KVMIO, 0x70, struct kvm_assigned_irq)
677 #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
678 #define KVM_DEASSIGN_PCI_DEVICE _IOW(KVMIO, 0x72, \
680 #define KVM_ASSIGN_SET_MSIX_NR _IOW(KVMIO, 0x73, \
682 #define KVM_ASSIGN_SET_MSIX_ENTRY _IOW(KVMIO, 0x74, \
684 #define KVM_DEASSIGN_DEV_IRQ _IOW(KVMIO, 0x75, struct kvm_assigned_irq)
685 #define KVM_IRQFD _IOW(KVMIO, 0x76, struct kvm_irqfd)
686 #define KVM_CREATE_PIT2 _IOW(KVMIO, 0x77, struct kvm_pit_config)
687 #define KVM_SET_BOOT_CPU_ID _IO(KVMIO, 0x78)
688 #define KVM_IOEVENTFD _IOW(KVMIO, 0x79, struct kvm_ioeventfd)
689 #define KVM_XEN_HVM_CONFIG _IOW(KVMIO, 0x7a, struct kvm_xen_hvm_config)
690 #define KVM_SET_CLOCK _IOW(KVMIO, 0x7b, struct kvm_clock_data)
691 #define KVM_GET_CLOCK _IOR(KVMIO, 0x7c, struct kvm_clock_data)
693 #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2)
694 #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2)
696 #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo)
698 #define KVM_SET_TSC_KHZ _IO(KVMIO, 0xa2)
699 #define KVM_GET_TSC_KHZ _IO(KVMIO, 0xa3)
704 #define KVM_RUN _IO(KVMIO, 0x80)
705 #define KVM_GET_REGS _IOR(KVMIO, 0x81, struct kvm_regs)
706 #define KVM_SET_REGS _IOW(KVMIO, 0x82, struct kvm_regs)
707 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
708 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
709 #define KVM_TRANSLATE _IOWR(KVMIO, 0x85, struct kvm_translation)
710 #define KVM_INTERRUPT _IOW(KVMIO, 0x86, struct kvm_interrupt)
713 #define KVM_GET_MSRS _IOWR(KVMIO, 0x88, struct kvm_msrs)
714 #define KVM_SET_MSRS _IOW(KVMIO, 0x89, struct kvm_msrs)
715 #define KVM_SET_CPUID _IOW(KVMIO, 0x8a, struct kvm_cpuid)
716 #define KVM_SET_SIGNAL_MASK _IOW(KVMIO, 0x8b, struct kvm_signal_mask)
717 #define KVM_GET_FPU _IOR(KVMIO, 0x8c, struct kvm_fpu)
718 #define KVM_SET_FPU _IOW(KVMIO, 0x8d, struct kvm_fpu)
719 #define KVM_GET_LAPIC _IOR(KVMIO, 0x8e, struct kvm_lapic_state)
720 #define KVM_SET_LAPIC _IOW(KVMIO, 0x8f, struct kvm_lapic_state)
721 #define KVM_SET_CPUID2 _IOW(KVMIO, 0x90, struct kvm_cpuid2)
722 #define KVM_GET_CPUID2 _IOWR(KVMIO, 0x91, struct kvm_cpuid2)
724 #define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
726 #define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
728 #define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
732 #define KVM_S390_STORE_STATUS _IOW(KVMIO, 0x95, unsigned long)
734 #define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
736 #define KVM_S390_INITIAL_RESET _IO(KVMIO, 0x97)
737 #define KVM_GET_MP_STATE _IOR(KVMIO, 0x98, struct kvm_mp_state)
738 #define KVM_SET_MP_STATE _IOW(KVMIO, 0x99, struct kvm_mp_state)
740 #define KVM_NMI _IO(KVMIO, 0x9a)
742 #define KVM_SET_GUEST_DEBUG _IOW(KVMIO, 0x9b, struct kvm_guest_debug)
744 #define KVM_X86_SETUP_MCE _IOW(KVMIO, 0x9c, __u64)
745 #define KVM_X86_GET_MCE_CAP_SUPPORTED _IOR(KVMIO, 0x9d, __u64)
746 #define KVM_X86_SET_MCE _IOW(KVMIO, 0x9e, struct kvm_x86_mce)
748 #define KVM_IA64_VCPU_GET_STACK _IOR(KVMIO, 0x9a, void *)
749 #define KVM_IA64_VCPU_SET_STACK _IOW(KVMIO, 0x9b, void *)
751 #define KVM_GET_VCPU_EVENTS _IOR(KVMIO, 0x9f, struct kvm_vcpu_events)
752 #define KVM_SET_VCPU_EVENTS _IOW(KVMIO, 0xa0, struct kvm_vcpu_events)
754 #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs)
755 #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs)
756 #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)
758 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
759 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
761 #define KVM_GET_XCRS _IOR(KVMIO, 0xa6, struct kvm_xcrs)
762 #define KVM_SET_XCRS _IOW(KVMIO, 0xa7, struct kvm_xcrs)
763 #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct kvm_create_spapr_tce)
765 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)