Skip to contentSkip to conversation

Targetting a specific processor type

Qemu-devel Mike Swanson 2 participants 2 messages Jul 24, 2005

lore
Share & tools
lore
#0 lore raw

I have a need currently to emulate specifically an 80486 processor, nothing lower or higher than that.

Is it possible to configure QEMU in any way to simply emulate a 486, or compile it like that?

Signature · 1 line
Mike
#1 lore raw
Quoted 5 lines · Mike Swanson

I have a need currently to emulate specifically an 80486 processor, nothing lower or higher than that.

Is it possible to configure QEMU in any way to simply emulate a 486, or compile it like that?

It is currently not possible, but adding it would be possible: the first
step is to modify the cpu init in target-i386/helper2.c to disable
most of the cpuid bits. The second step is to modify target-i386/translate.c to test every cpuid bit (it is not done for all instructions: I did it mostly for MMX/SSE).

Fabrice.