qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH] ide: log error when trying to use ATAPI overlappi


From: Hervé Poussineau
Subject: [Qemu-trivial] [PATCH] ide: log error when trying to use ATAPI overlapping features
Date: Sun, 10 Feb 2013 23:12:11 +0100

Signed-off-by: Hervé Poussineau <address@hidden>
---
 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;
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]