IDE should send irq after WIN_DIAGNOSE (Tristan Gingold).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3808 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2007-12-11 22:15:29 +00:00
parent e0e7ada1d5
commit f5fdd0a855

View File

@ -2042,6 +2042,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
ide_set_signature(s);
s->status = 0x00; /* NOTE: READY is _not_ set */
s->error = 0x01;
ide_set_irq(s);
break;
case WIN_SRST:
if (!s->is_cdrom)