VirtualBox

Changeset 103092 in vbox for trunk


Ignore:
Timestamp:
Jan 26, 2024 4:39:20 PM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161338
Message:

ValidationKit/tdCpuIemInstr1.py: Get rid of the hack to switch to interpreter/recompiler mode now that there is a proper way this is done, bugref:10583

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/cpu/tdCpuIemInstr1.py

    r102981 r103092  
    7171                                              f64BitRequired);
    7272
    73     def _childVmReconfig(self, oTestDrv, oVM, oSession):
    74         _ = oTestDrv;
    75 
    76         fRc = oSession.setExtraData('VBoxInternal/EM/IemExecutesAll', '1');
    77         if fRc:
    78             if oVM.platform.x86.getHWVirtExProperty(vboxcon.HWVirtExPropertyType_NestedPaging):
    79                 fRc = oSession.setExtraData('VBoxInternal/EM/IemRecompiled', '1');
    80             else:
    81                 fRc = oSession.setExtraData('VBoxInternal/EM/IemRecompiled', '0');
    82 
    83         return fRc;
    84 
    8573class tdCpuIemInstr1(vbox.TestDriver):
    8674    """
     
    9179        vbox.TestDriver.__init__(self);
    9280
    93         #
    94         # There is no official IEM support in the virt modes yet, so hwvirt is interpreted IEM
    95         # and hwvirt-np is recompiled IEM for now (gets configured in the IemTestVm class).
    96         #
    97         asVirtModesSup = [ 'hwvirt', 'hwvirt-np' ];
    98 
    9981        kaTestVMs = (
    100             IemTestVm(self.oTestVmSet, self, 'bs3-cpu-basic-2', asVirtModesSup),
     82            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-basic-2'),
    10183
    10284            # @todo r=aeichner Image can not be found (probably it is too large for a floppy weighing in at 16MiB)
     
    10991            #IemTestVm(self.oTestVmSet, self, 'bs3-cpu-generated-1', asVirtModesSup),
    11092
    111             IemTestVm(self.oTestVmSet, self, 'bs3-cpu-instr-2', asVirtModesSup),
     93            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-instr-2'),
    11294
    11395            # @todo r=aeichner Fails with IEM currently.
    11496            #IemTestVm(self.oTestVmSet, self, 'bs3-cpu-instr-3' asVirtModesSup),
    11597
    116             IemTestVm(self.oTestVmSet, self, 'bs3-cpu-state64-1', asVirtModesSup),
    117             IemTestVm(self.oTestVmSet, self, 'bs3-cpu-weird-1', asVirtModesSup),
    118             IemTestVm(self.oTestVmSet, self, 'bs3-fpustate-1', asVirtModesSup)
     98            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-state64-1'),
     99            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-weird-1'),
     100            IemTestVm(self.oTestVmSet, self, 'bs3-fpustate-1')
    119101        );
    120102
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette