diff options
author | Michal Piotrowski <michal.k.k.piotrowski@gmail.com> | 2007-03-25 17:59:32 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:27 +0300 |
commit | 55bf4028342d96b21fe5dc0721b481b0bc1e81f6 (patch) | |
tree | f2da612009ae1e8a4d5919c5a8749a75a5ca275c /drivers/kvm/svm.c | |
parent | 0cc5064d335543a72c5ef904a3f528966fa3f2d2 (diff) |
KVM: Remove unused function
Remove unused function
CC drivers/kvm/svm.o
drivers/kvm/svm.c:207: warning: ‘inject_db’ defined but not used
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
-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 ca2642fc091..303e95957e7 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c @@ -203,13 +203,6 @@ static void inject_ud(struct kvm_vcpu *vcpu) UD_VECTOR; } -static void inject_db(struct kvm_vcpu *vcpu) -{ - vcpu->svm->vmcb->control.event_inj = SVM_EVTINJ_VALID | - SVM_EVTINJ_TYPE_EXEPT | - DB_VECTOR; -} - static int is_page_fault(uint32_t info) { info &= SVM_EVTINJ_VEC_MASK | SVM_EVTINJ_TYPE_MASK | SVM_EVTINJ_VALID; |