VMM_IOC_BASE
#define VM_GET_GPA_PMAP (VMM_IOC_BASE | 0x01)
#define VM_GET_MEMSEG (VMM_IOC_BASE | 0x02)
#define VM_MMAP_GETNEXT (VMM_IOC_BASE | 0x03)
#define VM_LAPIC_IRQ (VMM_IOC_BASE | 0x04)
#define VM_LAPIC_LOCAL_IRQ (VMM_IOC_BASE | 0x05)
#define VM_LAPIC_MSI (VMM_IOC_BASE | 0x06)
#define VM_IOAPIC_ASSERT_IRQ (VMM_IOC_BASE | 0x07)
#define VM_IOAPIC_DEASSERT_IRQ (VMM_IOC_BASE | 0x08)
#define VM_IOAPIC_PULSE_IRQ (VMM_IOC_BASE | 0x09)
#define VM_ISA_ASSERT_IRQ (VMM_IOC_BASE | 0x0a)
#define VM_ISA_DEASSERT_IRQ (VMM_IOC_BASE | 0x0b)
#define VM_ISA_PULSE_IRQ (VMM_IOC_BASE | 0x0c)
#define VM_ISA_SET_IRQ_TRIGGER (VMM_IOC_BASE | 0x0d)
#define VM_RTC_WRITE (VMM_IOC_BASE | 0x0e)
#define VM_RTC_READ (VMM_IOC_BASE | 0x0f)
#define VM_RTC_SETTIME (VMM_IOC_BASE | 0x10)
#define VM_RTC_GETTIME (VMM_IOC_BASE | 0x11)
#define VM_SUSPEND (VMM_IOC_BASE | 0x12)
#define VM_IOAPIC_PINCOUNT (VMM_IOC_BASE | 0x13)
#define VM_GET_PPTDEV_LIMITS (VMM_IOC_BASE | 0x14)
#define VM_GET_HPET_CAPABILITIES (VMM_IOC_BASE | 0x15)
#define VM_STATS_IOC (VMM_IOC_BASE | 0x16)
#define VM_STAT_DESC (VMM_IOC_BASE | 0x17)
#define VM_INJECT_NMI (VMM_IOC_BASE | 0x18)
#define VM_GET_X2APIC_STATE (VMM_IOC_BASE | 0x19)
#define VM_SET_TOPOLOGY (VMM_IOC_BASE | 0x1a)
#define VM_GET_TOPOLOGY (VMM_IOC_BASE | 0x1b)
#define VM_GET_CPUS (VMM_IOC_BASE | 0x1c)
#define VM_SUSPEND_CPU (VMM_IOC_BASE | 0x1d)
#define VM_RESUME_CPU (VMM_IOC_BASE | 0x1e)
#define VM_PPTDEV_DISABLE_MSIX (VMM_IOC_BASE | 0x1f)
#define VM_TRACK_DIRTY_PAGES (VMM_IOC_BASE | 0x20)
#define VM_DESC_FPU_AREA (VMM_IOC_BASE | 0x21)
#define VM_DATA_READ (VMM_IOC_BASE | 0x22)
#define VM_DATA_WRITE (VMM_IOC_BASE | 0x23)
#define VM_SET_AUTODESTRUCT (VMM_IOC_BASE | 0x24)
#define VM_DESTROY_SELF (VMM_IOC_BASE | 0x25)
#define VM_DESTROY_PENDING (VMM_IOC_BASE | 0x26)
#define VM_VCPU_BARRIER (VMM_IOC_BASE | 0x27)
#define VM_NPT_OPERATION (VMM_IOC_BASE | 0x28)
#define VM_DEVMEM_GETOFFSET (VMM_IOC_BASE | 0xff)