qemu-e2k/hw/block
Keith Busch 6da021815e nvme: Fix spurious interrupts
The code had asserted an interrupt every time it was requested to check
for new completion queue entries.This can result in spurious interrupts
seen by the guest OS.

Fix this by asserting an interrupt only if there are un-acknowledged
completion queue entries available.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-11-27 12:59:00 +01:00
..
dataplane
block.c block: Remove deprecated -drive option serial 2018-08-15 12:50:39 +02:00
cdrom.c
ecc.c
fdc.c fdc: fix segfault in fdctrl_stop_transfer() when DMA is disabled 2018-11-19 12:51:22 +01:00
hd-geometry.c
m25p80.c hw/block: Use the IEC binary prefix definitions 2018-07-02 15:41:13 +02:00
Makefile.objs
nand.c
nvme.c nvme: Fix spurious interrupts 2018-11-27 12:59:00 +01:00
nvme.h
onenand.c hw/block/onenand: use qemu_log_mask() for reporting 2018-11-19 15:55:11 +00:00
pflash_cfi01.c
pflash_cfi02.c
tc58128.c hw/block: Use the IEC binary prefix definitions 2018-07-02 15:41:13 +02:00
trace-events
vhost-user-blk.c vhost-user-blk: start vhost when guest kicks 2018-11-05 13:24:02 -05:00
virtio-blk.c virtio-blk: fix comment for virtio_blk_rw_complete 2018-11-05 13:24:02 -05:00
xen_blkif.h
xen_disk.c hw/xen: Use the IEC binary prefix definitions 2018-07-02 15:41:13 +02:00