diff options
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kvm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h index 80752bccc756..c83a2ff35bf1 100644 --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h | |||
@@ -66,4 +66,14 @@ struct kvm_ioapic_state { | |||
66 | #define KVM_IRQCHIP_PIC_SLAVE 1 | 66 | #define KVM_IRQCHIP_PIC_SLAVE 1 |
67 | #define KVM_IRQCHIP_IOAPIC 2 | 67 | #define KVM_IRQCHIP_IOAPIC 2 |
68 | 68 | ||
69 | /* for KVM_GET_REGS and KVM_SET_REGS */ | ||
70 | struct kvm_regs { | ||
71 | /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ | ||
72 | __u64 rax, rbx, rcx, rdx; | ||
73 | __u64 rsi, rdi, rsp, rbp; | ||
74 | __u64 r8, r9, r10, r11; | ||
75 | __u64 r12, r13, r14, r15; | ||
76 | __u64 rip, rflags; | ||
77 | }; | ||
78 | |||
69 | #endif | 79 | #endif |