PCI native mode ATA in QEMU or bochs
Posted: Wed Mar 22, 2023 10:13 am
I'm trying to write an example program for driving a native-mode ATA/IDE controller. Since it's for other people to use, I would like it to run specifically in bochs and/or QEMU. But, the ATA devices in those emulators are always in compatibility mode, and the mode cannot be changed (the low four bits of the PROG IF byte in the PCI configuration space are clear). I've tried to configure each of bochs and QEMU to allow running a PCI native mode IDE driver, but I can't figure it out for either of them - is it possible to do this?