[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] ata bug
From: |
Jens Axboe |
Subject: |
[Qemu-devel] ata bug |
Date: |
Fri, 23 Jan 2004 13:29:10 +0100 |
Hi,
Writing some openbios ide code made me find this bug in qemu - atapi
need only clear busy stat, that is correct, but ata should set seek stat
in addition to ready stat.
Index: ide.c
===================================================================
RCS file: /cvsroot/qemu/qemu/ide.c,v
retrieving revision 1.6
diff -u -r1.6 ide.c
--- ide.c 22 Jan 2004 23:52:27 -0000 1.6
+++ ide.c 23 Jan 2004 12:18:46 -0000
@@ -1284,7 +1284,7 @@
if (s->is_cdrom)
s->status = 0x00; /* NOTE: READY is _not_ set */
else
- s->status = READY_STAT;
+ s->status = READY_STAT | SEEK_STAT;
ide_set_signature(s);
}
}
--
Jens Axboe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] ata bug,
Jens Axboe <=