Jump to content
  • Qemu - FPU divided by zero


    lars_devops
    • Minor
    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

    image.png.3d69952564fcc88aecb0a84f4a3a3024.png

     

    But when using a 16 bit program, it breaks each time the FPU is divided by zero.

    image.png.6dbc25fb43d534ef6ad2c8cee7004382.png

     

    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.

     




    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...