VirtualBox

Changeset 33730 in vbox


Ignore:
Timestamp:
Nov 3, 2010 3:29:31 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Enforces IOAPIC to be set for the machine which uses ICH9 chipset type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.cpp

    r33686 r33730  
    263263        m_cache.m_bootItems << data;
    264264    }
    265     m_cache.m_fIoApicEnabled = mCbApic->isChecked() || mSlCPU->value() > 1;
     265    m_cache.m_fIoApicEnabled = mCbApic->isChecked() || mSlCPU->value() > 1 ||
     266                               (KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9;
    266267    m_cache.m_fEFIEnabled = mCbEFI->isChecked();
    267268    m_cache.m_fUTCEnabled = mCbTCUseUTC->isChecked();
     
    317318    connect (mCbVirt, SIGNAL (stateChanged (int)), mValidator, SLOT (revalidate()));
    318319    connect (mCbUseAbsHID, SIGNAL (stateChanged (int)), mValidator, SLOT (revalidate()));
     320    connect(mCbChipset, SIGNAL(currentIndexChanged(int)), mValidator, SLOT(revalidate()));
    319321}
    320322
     
    382384            "you have assigned more than one virtual CPU to this VM. "
    383385            "This will not work unless hardware virtualization (VT-x/AMD-V) is also enabled. "
     386            "This will be done automatically when you accept the VM Settings "
     387            "by pressing the OK button.");
     388        return true;
     389    }
     390
     391    /* Chipset type & IO-APIC test */
     392    if ((KChipsetType)mCbChipset->itemData(mCbChipset->currentIndex()).toInt() == KChipsetType_ICH9 && !mCbApic->isChecked())
     393    {
     394        aWarning = tr (
     395            "you have assigned ICH9 chipset type to this VM. "
     396            "It will not work properly unless the IO-APIC feature is also enabled. "
    384397            "This will be done automatically when you accept the VM Settings "
    385398            "by pressing the OK button.");
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