diff options
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 7930c294182a..35f538bda3a9 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -337,6 +337,10 @@ struct kvm_pmu { | |||
337 | u64 reprogram_pmi; | 337 | u64 reprogram_pmi; |
338 | }; | 338 | }; |
339 | 339 | ||
340 | enum { | ||
341 | KVM_DEBUGREG_BP_ENABLED = 1, | ||
342 | }; | ||
343 | |||
340 | struct kvm_vcpu_arch { | 344 | struct kvm_vcpu_arch { |
341 | /* | 345 | /* |
342 | * rip and regs accesses must go through | 346 | * rip and regs accesses must go through |
@@ -463,7 +467,7 @@ struct kvm_vcpu_arch { | |||
463 | struct mtrr_state_type mtrr_state; | 467 | struct mtrr_state_type mtrr_state; |
464 | u32 pat; | 468 | u32 pat; |
465 | 469 | ||
466 | int switch_db_regs; | 470 | unsigned switch_db_regs; |
467 | unsigned long db[KVM_NR_DB_REGS]; | 471 | unsigned long db[KVM_NR_DB_REGS]; |
468 | unsigned long dr6; | 472 | unsigned long dr6; |
469 | unsigned long dr7; | 473 | unsigned long dr7; |