aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-02 19:10:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-02 19:10:47 +0000
commit1298fe631660abd913eba86567c8caeb9caf6ebc (patch)
treee98de52ae9c4d186c8f3b5d1e3cf97edaf335d6f /hw
parent307b0c24de782119953a9dd12c4b0ece0313dea6 (diff)
downloadqemu-1298fe631660abd913eba86567c8caeb9caf6ebc.zip
qemu-1298fe631660abd913eba86567c8caeb9caf6ebc.tar.gz
qemu-1298fe631660abd913eba86567c8caeb9caf6ebc.tar.bz2
CDROM detection fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1794 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 50b8e63..cf9a9a7 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -1669,7 +1669,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
case WIN_PIDENTIFY:
if (s->is_cdrom) {
ide_atapi_identify(s);
- s->status = READY_STAT;
+ s->status = READY_STAT | SEEK_STAT;
ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop);
} else {
ide_abort_command(s);