Commit 1298fe631660abd913eba86567c8caeb9caf6ebc

Authored by bellard
1 parent 307b0c24

CDROM detection fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1794 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/ide.c
@@ -1669,7 +1669,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val) @@ -1669,7 +1669,7 @@ static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
1669 case WIN_PIDENTIFY: 1669 case WIN_PIDENTIFY:
1670 if (s->is_cdrom) { 1670 if (s->is_cdrom) {
1671 ide_atapi_identify(s); 1671 ide_atapi_identify(s);
1672 - s->status = READY_STAT; 1672 + s->status = READY_STAT | SEEK_STAT;
1673 ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop); 1673 ide_transfer_start(s, s->io_buffer, 512, ide_transfer_stop);
1674 } else { 1674 } else {
1675 ide_abort_command(s); 1675 ide_abort_command(s);