diff options
Diffstat (limited to 'drivers/kvm')
-rw-r--r-- | drivers/kvm/svm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index ca2642fc091f..303e95957e7b 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -203,13 +203,6 @@ static void inject_ud(struct kvm_vcpu *vcpu) | |||
203 | UD_VECTOR; | 203 | UD_VECTOR; |
204 | } | 204 | } |
205 | 205 | ||
206 | static void inject_db(struct kvm_vcpu *vcpu) | ||
207 | { | ||
208 | vcpu->svm->vmcb->control.event_inj = SVM_EVTINJ_VALID | | ||
209 | SVM_EVTINJ_TYPE_EXEPT | | ||
210 | DB_VECTOR; | ||
211 | } | ||
212 | |||
213 | static int is_page_fault(uint32_t info) | 206 | static int is_page_fault(uint32_t info) |
214 | { | 207 | { |
215 | info &= SVM_EVTINJ_VEC_MASK | SVM_EVTINJ_TYPE_MASK | SVM_EVTINJ_VALID; | 208 | info &= SVM_EVTINJ_VEC_MASK | SVM_EVTINJ_TYPE_MASK | SVM_EVTINJ_VALID; |