Go to the documentation of this file.
9 #include <linux/types.h>
29 #define __KVM_HAVE_PIT
30 #define __KVM_HAVE_IOAPIC
31 #define __KVM_HAVE_IRQ_LINE
32 #define __KVM_HAVE_DEVICE_ASSIGNMENT
33 #define __KVM_HAVE_MSI
34 #define __KVM_HAVE_USER_NMI
35 #define __KVM_HAVE_GUEST_DEBUG
36 #define __KVM_HAVE_MSIX
37 #define __KVM_HAVE_MCE
38 #define __KVM_HAVE_PIT_STATE2
39 #define __KVM_HAVE_XEN_HVM
40 #define __KVM_HAVE_VCPU_EVENTS
41 #define __KVM_HAVE_DEBUGREGS
42 #define __KVM_HAVE_XSAVE
43 #define __KVM_HAVE_XCRS
44 #define __KVM_HAVE_READONLY_MEM
47 #define KVM_NR_INTERRUPTS 256
77 #define KVM_IOAPIC_NUM_PINS 24
102 #define KVM_IRQCHIP_PIC_MASTER 0
103 #define KVM_IRQCHIP_PIC_SLAVE 1
104 #define KVM_IRQCHIP_IOAPIC 2
105 #define KVM_NR_IRQCHIPS 3
118 #define KVM_APIC_REG_SIZE 0x400
215 #define KVM_CPUID_FLAG_SIGNIFCANT_INDEX 1
216 #define KVM_CPUID_FLAG_STATEFUL_FUNC 2
217 #define KVM_CPUID_FLAG_STATE_READ_NEXT 4
251 #define KVM_GUESTDBG_USE_SW_BP 0x00010000
252 #define KVM_GUESTDBG_USE_HW_BP 0x00020000
253 #define KVM_GUESTDBG_INJECT_DB 0x00040000
254 #define KVM_GUESTDBG_INJECT_BP 0x00080000
265 #define KVM_PIT_FLAGS_HPET_LEGACY 0x00000001
279 #define KVM_VCPUEVENT_VALID_NMI_PENDING 0x00000001
280 #define KVM_VCPUEVENT_VALID_SIPI_VECTOR 0x00000002
281 #define KVM_VCPUEVENT_VALID_SHADOW 0x00000004
284 #define KVM_X86_SHADOW_INT_MOV_SS 0x01
285 #define KVM_X86_SHADOW_INT_STI 0x02
327 #define KVM_MAX_XCRS 16