VirtualBox

Ticket #16780 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

IEM IRET with VME cause #GP with TF set

Reported by: yuhong Owned by:
Component: VMM Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by frank) (diff)

From https://www.virtualbox.org/svn/vbox/trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h :

        else if (   enmEffOpSize == IEMMODE_16BIT
                 && (   !(uNewFlags & X86_EFL_IF)
                     || !Efl.Bits.u1VIP )
                 && !(uNewFlags & X86_EFL_TF)   )

I don't remember IRET with TF set causing GP faults with VME, unlike POPF. This is documented in  http://www.rcollins.org/ddj/May98/May98.html

Change History

comment:1 Changed 5 years ago by yuhong

Actually, please close this ticket. I think the article is in error.

comment:2 Changed 5 years ago by frank

  • Description modified (diff)

comment:3 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use