From patchwork Sun Feb 10 22:12:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: ide: log error when trying to use ATAPI overlapping features Date: Sun, 10 Feb 2013 12:12:11 -0000 From: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 219524 Message-Id: <1360534332-6549-1-git-send-email-hpoussin@reactos.org> To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Kevin Wolf , =?UTF-8?q?Herv=C3=A9=20Poussineau?= Signed-off-by: Hervé Poussineau --- hw/ide/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index 3743dc3..f0ab1a8 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -1394,8 +1394,10 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val) break; case WIN_PACKETCMD: /* overlapping commands not supported */ - if (s->feature & 0x02) + if (s->feature & 0x02) { + qemu_log_mask(LOG_UNIMP, "ide: overlapping command not supported"); goto abort_cmd; + } s->status = READY_STAT | SEEK_STAT; s->atapi_dma = s->feature & 1; s->nsector = 1;