Re: [Qemu-devel] [PATCH] nvme: Only generate interupt if warranted

2018-11-26 Thread Guenter Roeck
Hi Keith, On Mon, Nov 26, 2018 at 09:17:17AM -0700, Keith Busch wrote: > On Sun, Nov 25, 2018 at 03:03:55PM -0800, Guenter Roeck wrote: > > So far the code generates interrupts even if it doesn't pass any new > > information to the user. This can result in spurious interrupts as > > sometimes obse

Re: [Qemu-devel] [PATCH] nvme: Only generate interupt if warranted

2018-11-26 Thread Keith Busch
On Sun, Nov 25, 2018 at 03:03:55PM -0800, Guenter Roeck wrote: > So far the code generates interrupts even if it doesn't pass any new > information to the user. This can result in spurious interrupts as > sometimes observed with Linux. > > Only generate interrupts if warranted, ie if anything new

[Qemu-devel] [PATCH] nvme: Only generate interupt if warranted

2018-11-25 Thread Guenter Roeck
So far the code generates interrupts even if it doesn't pass any new information to the user. This can result in spurious interrupts as sometimes observed with Linux. Only generate interrupts if warranted, ie if anything new is passed to the emulated code. Signed-off-by: Guenter Roeck --- hw/bl