Re: [PATCH] ide_ioport_read: Return lower octet of data register instead of 0xFF

2022-05-24 Thread Paolo Bonzini
Queued, thanks. The same change needs to be done in hw/ide/macio.c: diff --git a/hw/ide/macio.c b/hw/ide/macio.c index f08318cf97..1c15c37ec5 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -267,7 +267,9 @@ static uint64_t pmac_ide_read(void *opaque, hwaddr addr, unsigned size) switch

[PATCH] ide_ioport_read: Return lower octet of data register instead of 0xFF

2022-05-20 Thread Lev Kujawski
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