Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103755
b: refs/heads/master
c: c65bbfa
h: refs/heads/master
i:
  103753: 2be79f2
  103751: d802827
v: v3
  • Loading branch information
Ben-Ami Yassour authored and Avi Kivity committed Jul 20, 2008
1 parent 4667004 commit d76a6c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19fdfa0d133ae216e9d1c69a8333fe63fcf8e584
refs/heads/master: c65bbfa1d693d375da51f9c8aa9fb26f09fa19ed
6 changes: 4 additions & 2 deletions trunk/arch/x86/kvm/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ void kvm_pic_set_irq(void *opaque, int irq, int level)
{
struct kvm_pic *s = opaque;

pic_set_irq1(&s->pics[irq >> 3], irq & 7, level);
pic_update_irq(s);
if (irq >= 0 && irq < PIC_NUM_PINS) {
pic_set_irq1(&s->pics[irq >> 3], irq & 7, level);
pic_update_irq(s);
}
}

/*
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/kvm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include "ioapic.h"
#include "lapic.h"

#define PIC_NUM_PINS 16

struct kvm;
struct kvm_vcpu;

Expand Down

0 comments on commit d76a6c4

Please sign in to comment.