VirtualBox

Opened 7 years ago

Closed 7 years ago

#16780 closed defect (invalid)

IEM IRET with VME cause #GP with TF set

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

Description (last modified by Frank Mehnert)

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 (3)

comment:1 by Yuhong Bao, 7 years ago

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

comment:2 by Frank Mehnert, 7 years ago

Description: modified (diff)

comment:3 by Frank Mehnert, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use