Skip to contentSkip to conversation

QEMU hard disks don't set ERR on reading a nonexistent sector

Qemu-devel Mike Smith 1 participant 1 message Jan 21, 2007

lore
Share & tools
lore

Mike Smith

author
#0 lore raw

I was adding error detection to my OS's IDE driver, and noticed that when I read a non-existent sector, say 0xDEADBEEF on a 20MB hard disk image, ERR does not get set in the IDE status register. VMWare and Bochs correctly set this, so I'm pretty sure it's QEMU and not my bad coding. I'm using Linux as host and Popcorn (popcorn-os.sourceforge.net in case you need the code that causes this) as guest.