Re: [PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-09 Thread Paolo Bonzini
On 08/10/2015 20:34, Radim Krčmář wrote: > 2015-10-08 20:30+0200, Radim Krčmář: >> On real hardware, edge-triggered interrupts don't set a bit in TMR, >> which means that IOAPIC isn't notified on EOI. Do the same here. >> >> Staying in guest/kernel mode after edge EOI is what we want for most

Re: [PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-09 Thread Paolo Bonzini
On 08/10/2015 20:34, Radim Krčmář wrote: > 2015-10-08 20:30+0200, Radim Krčmář: >> On real hardware, edge-triggered interrupts don't set a bit in TMR, >> which means that IOAPIC isn't notified on EOI. Do the same here. >> >> Staying in guest/kernel mode after edge EOI is what we want for most

Re: [PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-08 Thread Radim Krčmář
2015-10-08 20:30+0200, Radim Krčmář: > On real hardware, edge-triggered interrupts don't set a bit in TMR, > which means that IOAPIC isn't notified on EOI. Do the same here. > > Staying in guest/kernel mode after edge EOI is what we want for most > devices. If some bugs could be nicely worked

[PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-08 Thread Radim Krčmář
On real hardware, edge-triggered interrupts don't set a bit in TMR, which means that IOAPIC isn't notified on EOI. Do the same here. Staying in guest/kernel mode after edge EOI is what we want for most devices. If some bugs could be nicely worked around with edge EOI notifications, we should

Re: [PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-08 Thread Radim Krčmář
2015-10-08 20:30+0200, Radim Krčmář: > On real hardware, edge-triggered interrupts don't set a bit in TMR, > which means that IOAPIC isn't notified on EOI. Do the same here. > > Staying in guest/kernel mode after edge EOI is what we want for most > devices. If some bugs could be nicely worked

[PATCH] KVM: x86: don't notify userspace IOAPIC on edge EOI

2015-10-08 Thread Radim Krčmář
On real hardware, edge-triggered interrupts don't set a bit in TMR, which means that IOAPIC isn't notified on EOI. Do the same here. Staying in guest/kernel mode after edge EOI is what we want for most devices. If some bugs could be nicely worked around with edge EOI notifications, we should