Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
kvm.h File Reference
#include <linux/types.h>
#include <linux/ioctl.h>

Go to the source code of this file.

Data Structures

struct  kvm_memory_alias
 
struct  kvm_pic_state
 
struct  kvm_ioapic_state
 
struct  kvm_regs
 
struct  kvm_lapic_state
 
struct  kvm_segment
 
struct  kvm_dtable
 
struct  kvm_sregs
 
struct  kvm_fpu
 
struct  kvm_msr_entry
 
struct  kvm_msrs
 
struct  kvm_msr_list
 
struct  kvm_cpuid_entry
 
struct  kvm_cpuid
 
struct  kvm_cpuid_entry2
 
struct  kvm_cpuid2
 
struct  kvm_pit_channel_state
 
struct  kvm_debug_exit_arch
 
struct  kvm_guest_debug_arch
 
struct  kvm_pit_state
 
struct  kvm_pit_state2
 
struct  kvm_reinject_control
 
struct  kvm_vcpu_events
 
struct  kvm_debugregs
 
struct  kvm_xsave
 
struct  kvm_xcr
 
struct  kvm_xcrs
 
struct  kvm_sync_regs
 

Macros

#define DE_VECTOR   0
 
#define DB_VECTOR   1
 
#define BP_VECTOR   3
 
#define OF_VECTOR   4
 
#define BR_VECTOR   5
 
#define UD_VECTOR   6
 
#define NM_VECTOR   7
 
#define DF_VECTOR   8
 
#define TS_VECTOR   10
 
#define NP_VECTOR   11
 
#define SS_VECTOR   12
 
#define GP_VECTOR   13
 
#define PF_VECTOR   14
 
#define MF_VECTOR   16
 
#define MC_VECTOR   18
 
#define __KVM_HAVE_PIT
 
#define __KVM_HAVE_IOAPIC
 
#define __KVM_HAVE_IRQ_LINE
 
#define __KVM_HAVE_DEVICE_ASSIGNMENT
 
#define __KVM_HAVE_MSI
 
#define __KVM_HAVE_USER_NMI
 
#define __KVM_HAVE_GUEST_DEBUG
 
#define __KVM_HAVE_MSIX
 
#define __KVM_HAVE_MCE
 
#define __KVM_HAVE_PIT_STATE2
 
#define __KVM_HAVE_XEN_HVM
 
#define __KVM_HAVE_VCPU_EVENTS
 
#define __KVM_HAVE_DEBUGREGS
 
#define __KVM_HAVE_XSAVE
 
#define __KVM_HAVE_XCRS
 
#define __KVM_HAVE_READONLY_MEM
 
#define KVM_NR_INTERRUPTS   256
 
#define KVM_IOAPIC_NUM_PINS   24
 
#define KVM_IRQCHIP_PIC_MASTER   0
 
#define KVM_IRQCHIP_PIC_SLAVE   1
 
#define KVM_IRQCHIP_IOAPIC   2
 
#define KVM_NR_IRQCHIPS   3
 
#define KVM_APIC_REG_SIZE   0x400
 
#define KVM_CPUID_FLAG_SIGNIFCANT_INDEX   1
 
#define KVM_CPUID_FLAG_STATEFUL_FUNC   2
 
#define KVM_CPUID_FLAG_STATE_READ_NEXT   4
 
#define KVM_GUESTDBG_USE_SW_BP   0x00010000
 
#define KVM_GUESTDBG_USE_HW_BP   0x00020000
 
#define KVM_GUESTDBG_INJECT_DB   0x00040000
 
#define KVM_GUESTDBG_INJECT_BP   0x00080000
 
#define KVM_PIT_FLAGS_HPET_LEGACY   0x00000001
 
#define KVM_VCPUEVENT_VALID_NMI_PENDING   0x00000001
 
#define KVM_VCPUEVENT_VALID_SIPI_VECTOR   0x00000002
 
#define KVM_VCPUEVENT_VALID_SHADOW   0x00000004
 
#define KVM_X86_SHADOW_INT_MOV_SS   0x01
 
#define KVM_X86_SHADOW_INT_STI   0x02
 
#define KVM_MAX_XCRS   16
 

Macro Definition Documentation

#define __KVM_HAVE_DEBUGREGS

Definition at line 41 of file kvm.h.

#define __KVM_HAVE_DEVICE_ASSIGNMENT

Definition at line 32 of file kvm.h.

#define __KVM_HAVE_GUEST_DEBUG

Definition at line 35 of file kvm.h.

#define __KVM_HAVE_IOAPIC

Definition at line 30 of file kvm.h.

#define __KVM_HAVE_IRQ_LINE

Definition at line 31 of file kvm.h.

#define __KVM_HAVE_MCE

Definition at line 37 of file kvm.h.

#define __KVM_HAVE_MSI

Definition at line 33 of file kvm.h.

#define __KVM_HAVE_MSIX

Definition at line 36 of file kvm.h.

#define __KVM_HAVE_PIT

Definition at line 29 of file kvm.h.

#define __KVM_HAVE_PIT_STATE2

Definition at line 38 of file kvm.h.

#define __KVM_HAVE_READONLY_MEM

Definition at line 44 of file kvm.h.

#define __KVM_HAVE_USER_NMI

Definition at line 34 of file kvm.h.

#define __KVM_HAVE_VCPU_EVENTS

Definition at line 40 of file kvm.h.

#define __KVM_HAVE_XCRS

Definition at line 43 of file kvm.h.

#define __KVM_HAVE_XEN_HVM

Definition at line 39 of file kvm.h.

#define __KVM_HAVE_XSAVE

Definition at line 42 of file kvm.h.

#define BP_VECTOR   3

Definition at line 14 of file kvm.h.

#define BR_VECTOR   5

Definition at line 16 of file kvm.h.

#define DB_VECTOR   1

Definition at line 13 of file kvm.h.

#define DE_VECTOR   0

Definition at line 12 of file kvm.h.

#define DF_VECTOR   8

Definition at line 19 of file kvm.h.

#define GP_VECTOR   13

Definition at line 23 of file kvm.h.

#define KVM_APIC_REG_SIZE   0x400

Definition at line 118 of file kvm.h.

#define KVM_CPUID_FLAG_SIGNIFCANT_INDEX   1

Definition at line 215 of file kvm.h.

#define KVM_CPUID_FLAG_STATE_READ_NEXT   4

Definition at line 217 of file kvm.h.

#define KVM_CPUID_FLAG_STATEFUL_FUNC   2

Definition at line 216 of file kvm.h.

#define KVM_GUESTDBG_INJECT_BP   0x00080000

Definition at line 254 of file kvm.h.

#define KVM_GUESTDBG_INJECT_DB   0x00040000

Definition at line 253 of file kvm.h.

#define KVM_GUESTDBG_USE_HW_BP   0x00020000

Definition at line 252 of file kvm.h.

#define KVM_GUESTDBG_USE_SW_BP   0x00010000

Definition at line 251 of file kvm.h.

#define KVM_IOAPIC_NUM_PINS   24

Definition at line 77 of file kvm.h.

#define KVM_IRQCHIP_IOAPIC   2

Definition at line 104 of file kvm.h.

#define KVM_IRQCHIP_PIC_MASTER   0

Definition at line 102 of file kvm.h.

#define KVM_IRQCHIP_PIC_SLAVE   1

Definition at line 103 of file kvm.h.

#define KVM_MAX_XCRS   16

Definition at line 327 of file kvm.h.

#define KVM_NR_INTERRUPTS   256

Definition at line 47 of file kvm.h.

#define KVM_NR_IRQCHIPS   3

Definition at line 105 of file kvm.h.

#define KVM_PIT_FLAGS_HPET_LEGACY   0x00000001

Definition at line 265 of file kvm.h.

#define KVM_VCPUEVENT_VALID_NMI_PENDING   0x00000001

Definition at line 279 of file kvm.h.

#define KVM_VCPUEVENT_VALID_SHADOW   0x00000004

Definition at line 281 of file kvm.h.

#define KVM_VCPUEVENT_VALID_SIPI_VECTOR   0x00000002

Definition at line 280 of file kvm.h.

#define KVM_X86_SHADOW_INT_MOV_SS   0x01

Definition at line 284 of file kvm.h.

#define KVM_X86_SHADOW_INT_STI   0x02

Definition at line 285 of file kvm.h.

#define MC_VECTOR   18

Definition at line 26 of file kvm.h.

#define MF_VECTOR   16

Definition at line 25 of file kvm.h.

#define NM_VECTOR   7

Definition at line 18 of file kvm.h.

#define NP_VECTOR   11

Definition at line 21 of file kvm.h.

#define OF_VECTOR   4

Definition at line 15 of file kvm.h.

#define PF_VECTOR   14

Definition at line 24 of file kvm.h.

#define SS_VECTOR   12

Definition at line 22 of file kvm.h.

#define TS_VECTOR   10

Definition at line 20 of file kvm.h.

#define UD_VECTOR   6

Definition at line 17 of file kvm.h.