can't find IDE on QEMU

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
gpmelendez
Posts: 1
Joined: Mon May 09, 2011 9:46 am

can't find IDE on QEMU

Post by gpmelendez »

I just finished coding PCI headers. ( http://wiki.osdev.org/PCI ).

When I try my code on real hardware, it finds an IDE, but not on qemu. why is that?
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: can't find IDE on QEMU

Post by thepowersgang »

This has been solved on IRC, the issue was with the OP not checking sub-functions for each device
On Qemu, the IDE controller is usually function index 1 of one of the devices (0:1:1 for me)
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Post Reply