As describe here:
https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg06407.html
It seems like this is still an issues.
When i add the following to the configuration.
The guest OS should be able to handle FPU divide by zero commands to the CPU.
<cpu mode='custom' match='exact' check='partial'>
<model fallback='forbid'>pentium</model>
<topology sockets='1' cores='1' threads='1'/>
<feature policy='force' name='vme'/>
<feature policy='force' name='pse'/>
<feature policy='force' name='fpu'/>
<feature policy='force' name='de'/>
<feature policy='force' name='tsc'/>
<feature policy='force' name='msr'/>
<feature policy='force' name='mce'/>
<feature policy='force' name='cx8'/>
<feature policy='force' name='mmx'/>
</cpu>
Running HWInfo32 shows
But when using a 16 bit program, it breaks each time the FPU is divided by zero.
This is supported by the CPU itself, but not Qemu it seems.
There seem to be a workaround mentioned in here:
https://github.com/cloudius-systems/osv/issues/855
But a proper fix should be implemented, so emulation is 100% correct.