aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorLev Kujawski <lkujaw@member.fsf.org>2022-05-20 23:52:00 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-25 21:26:35 +0200
commit758c925ee04ecd9d2d543a60f3c389e4e814c6aa (patch)
tree4530460b2962f5fc7b83d96db1dff18241b99b25 /hw/intc
parent267b5e7e378afd260004cb37a66a6fcd641e3b53 (diff)
downloadqemu-758c925ee04ecd9d2d543a60f3c389e4e814c6aa.zip
qemu-758c925ee04ecd9d2d543a60f3c389e4e814c6aa.tar.gz
qemu-758c925ee04ecd9d2d543a60f3c389e4e814c6aa.tar.bz2
ide_ioport_read: Return lower octet of data register instead of 0xFF
Prior to this patch, the pre-GRUB Solaris x86 bootloader would fail to load on QEMU with the following screen output: SunOS Secondary Boot version 3.00 prom_panic: Could not mount filesystem. Entering boot debugger: [136419]: _ This occurs because the bootloader issues an ATA IDENTIFY DEVICE command, and then reads the resulting 256 words of parameter information using inb rather than the correct inw. As the previous behavior of QEMU was to return 0xFF and not advance the drive's sector buffer, DRQ would never be cleared and the bootloader would be blocked from selecting a secondary ATA device, such as an optical drive. Resolves: * [Bug 1639394] Unable to boot Solaris 8/9 x86 under Fedora 24 Signed-off-by: Lev Kujawski <lkujaw@member.fsf.org> Message-Id: <20220520235200.1138450-1-lkujaw@member.fsf.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions