Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356799
b: refs/heads/master
c: 871a069
h: refs/heads/master
i:
  356797: b4c5223
  356795: ef33baa
  356791: 0222c38
  356783: 3df1df6
  356767: cabfdb0
  356735: 07eef1e
v: v3
  • Loading branch information
Yang Zhang authored and Gleb Natapov committed Dec 23, 2012
1 parent f3d6cca commit afe78fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 7e64e0597fd67c975bfa3e76401bfbcdd5ae0ff9
refs/heads/master: 871a069db9f29938071b3d214cb964980071ffbf
9 changes: 0 additions & 9 deletions trunk/virt/kvm/ioapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,6 @@ static int ioapic_deliver(struct kvm_ioapic *ioapic, int irq)
irqe.level = 1;
irqe.shorthand = 0;

#ifdef CONFIG_X86
/* Always delivery PIT interrupt to vcpu 0 */
if (irq == 0) {
irqe.dest_mode = 0; /* Physical mode. */
/* need to read apic_id from apic regiest since
* it can be rewritten */
irqe.dest_id = ioapic->kvm->bsp_vcpu_id;
}
#endif
return kvm_irq_delivery_to_apic(ioapic->kvm, NULL, &irqe);
}

Expand Down

0 comments on commit afe78fa

Please sign in to comment.