diff options
Diffstat (limited to 'arch/x86/include/asm/kvm.h')
-rw-r--r-- | arch/x86/include/asm/kvm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h index 886c9402ec45..32eb96c7ca27 100644 --- a/arch/x86/include/asm/kvm.h +++ b/arch/x86/include/asm/kvm.h | |||
@@ -212,6 +212,24 @@ struct kvm_pit_channel_state { | |||
212 | __s64 count_load_time; | 212 | __s64 count_load_time; |
213 | }; | 213 | }; |
214 | 214 | ||
215 | struct kvm_debug_exit_arch { | ||
216 | __u32 exception; | ||
217 | __u32 pad; | ||
218 | __u64 pc; | ||
219 | __u64 dr6; | ||
220 | __u64 dr7; | ||
221 | }; | ||
222 | |||
223 | #define KVM_GUESTDBG_USE_SW_BP 0x00010000 | ||
224 | #define KVM_GUESTDBG_USE_HW_BP 0x00020000 | ||
225 | #define KVM_GUESTDBG_INJECT_DB 0x00040000 | ||
226 | #define KVM_GUESTDBG_INJECT_BP 0x00080000 | ||
227 | |||
228 | /* for KVM_SET_GUEST_DEBUG */ | ||
229 | struct kvm_guest_debug_arch { | ||
230 | __u64 debugreg[8]; | ||
231 | }; | ||
232 | |||
215 | struct kvm_pit_state { | 233 | struct kvm_pit_state { |
216 | struct kvm_pit_channel_state channels[3]; | 234 | struct kvm_pit_channel_state channels[3]; |
217 | }; | 235 | }; |