mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
SEEK_STAT bit ata reset fix (Jens Axboe)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@592 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c92b2e845f
commit
56bf1d37a0
1 changed files with 1 additions and 1 deletions
2
hw/ide.c
2
hw/ide.c
|
@ -1284,7 +1284,7 @@ static void ide_cmd_write(CPUState *env, uint32_t addr, uint32_t val)
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue