summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-04 11:48:58 +0200
committerKevin Wolf2020-05-18 19:05:25 +0200
commitc5f12a80c6472bc158e5092c731bbc7affaca2e5 (patch)
tree4a8ec6cc869d1dde8bde994a8afb2acedd2c571f
parentiotests: log messages from notrun() (diff)
downloadqemu-c5f12a80c6472bc158e5092c731bbc7affaca2e5.tar.gz
qemu-c5f12a80c6472bc158e5092c731bbc7affaca2e5.tar.xz
qemu-c5f12a80c6472bc158e5092c731bbc7affaca2e5.zip
hw/ide/ahci: Log lost IRQs
One might find interesting to look at AHCI IRQs. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200504094858.5975-1-f4bug@amsat.org> Reviewed-by: John Snow <jsnow@redhat.com> Acked-by: John Snow <jsnow@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--hw/ide/ahci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 13d91e109a..fc82cbd5f1 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -1509,6 +1509,7 @@ static void ahci_cmd_done(IDEDMA *dma)
static void ahci_irq_set(void *opaque, int n, int level)
{
+ qemu_log_mask(LOG_UNIMP, "ahci: IRQ#%d level:%d\n", n, level);
}
static const IDEDMAOps ahci_dma_ops = {