Re: [PATCH] KVM: i8259: initialize IMR to 0xff on reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 08/30/2010 12:20 PM, Avi Kivity wrote:
Otherwise, a wily interrupt can slip through while the guest isn't prepared
for it (and while the irq base is zero).


  	s->last_irr = 0;
  	s->irr = 0;
-	s->imr = 0;
+	s->imr = 0xff;
  	s->isr = 0;
  	s->isr_ack = 0xff;
  	s->priority_add = 0;

For some reason, this bug only shows on the non-atomic-injection branch (specifically, the KVM_REQ_EVENT part).

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux