VirtualBox

Ignore:
Timestamp:
Jul 2, 2019 4:49:03 PM (5 years ago)
Author:
vboxsync
Message:

ValKit/tdGuestOsUnattendedInst1.py: Disable AVX2 for ubuntu 16.04-64 as it seems to make compiz want to use AVX512 instructions (kmovb). (Could be something else, ofc.) bugref:9151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py

    r79457 r79475  
    6161    ## @name VM option flags (OR together).
    6262    ## @{
    63     kfIdeIrqDelay           = 0x1;
    64     kfUbuntuNewAmdBug       = 0x2;
    65     kfNoWin81Paravirt       = 0x4;
     63    kfUbuntuAvx2Crash       = 0x0001; ## < Disables AVX2 as ubuntu 16.04 think it means AVX512 is available and compiz crashes.
     64    kfIdeIrqDelay           = 0x1000;
     65    kfUbuntuNewAmdBug       = 0x2000;
     66    kfNoWin81Paravirt       = 0x4000;
    6667    ## @}
    6768
     69    ## kfUbuntuAvx2Crash: Extra data that disables AVX2.
     70    kasUbuntuAvx2Crash = [ '/CPUM/IsaExts/AVX2:0', ];
     71
    6872    ## IRQ delay extra data config for win2k VMs.
    69     kasIdeIrqDelay   = [ 'VBoxInternal/Devices/piix3ide/0/Config/IRQDelay:1', ];
     73    kasIdeIrqDelay     = [ 'VBoxInternal/Devices/piix3ide/0/Config/IRQDelay:1', ];
    7074
    7175    def __init__(self, oSet, sVmName, sKind, sInstallIso, fFlags = 0):
     
    8185        self.fOptInstallAdditions   = False;
    8286        self.asOptExtraData         = [];
     87        if fFlags & self.kfUbuntuAvx2Crash:
     88            self.asOptExtraData    += self.kasUbuntuAvx2Crash;
    8389        if fFlags & self.kfIdeIrqDelay:
    84             self.asOptExtraData     = self.kasIdeIrqDelay;
     90            self.asOptExtraData    += self.kasIdeIrqDelay;
    8591
    8692    def _unattendedConfigure(self, oIUnattended, oTestDrv): # type: (Any, vbox.TestDriver) -> bool
     
    391397            UnattendedVm(oSet, 'tst-w7-32', 'Windows7',     '6.0/uaisos/en_windows_7_enterprise_x86_dvd_x15-70745.iso'), # ~5.7GiB
    392398            UnattendedVm(oSet, 'tst-w7-64', 'Windows7_64',  '6.0/uaisos/en_windows_7_enterprise_x64_dvd_x15-70749.iso'), # ~10GiB
    393             UnattendedVm(oSet, 'tst-ubuntu-16.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.04-desktop-amd64.iso'),
     399            ## @todo 15.10 fails with grub install error.
     400            #UnattendedVm(oSet, 'tst-ubuntu-15.10-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-15.10-desktop-amd64.iso'),
     401            UnattendedVm(oSet, 'tst-ubuntu-16.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.04-desktop-amd64.iso',  # ~4.8GiB
     402                         UnattendedVm.kfUbuntuAvx2Crash),
    394403            UnattendedVm(oSet, 'tst-ubuntu-16.10-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.10-desktop-amd64.iso'), # ~5.1GiB
    395404            UnattendedVm(oSet, 'tst-ubuntu-17.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-17.04-desktop-amd64.iso'), # ~4.6GiB
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