VirtualBox

Changeset 70606 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Jan 16, 2018 7:05:36 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120319
Message:

updates (bugref:9087)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:mergeinfo
      •  

        old new  
        88/branches/VBox-5.0:104445,104938,104943,104950,104952-104953,104987-104988,104990,106453
        99/branches/VBox-5.1:112367,115992,116543,116550,116568,116573
         10/branches/VBox-5.2:120083,120099,120213,120221,120239
        1011/branches/andy/draganddrop:90781-91268
        1112/branches/andy/guestctrl20:78916,78930
  • trunk/src/VBox

    • Property svn:mergeinfo
      •  

        old new  
        88/branches/VBox-5.0/src/VBox:104938,104943,104950,104987-104988,104990,106453
        99/branches/VBox-5.1/src/VBox:112367,116543,116550,116568,116573
         10/branches/VBox-5.2/src/VBox:120083,120099,120213,120221,120239
        1011/branches/andy/draganddrop/src/VBox:90781-91268
        1112/branches/andy/guestctrl20/src/VBox:78916,78930
  • trunk/src/VBox/Main/xml/Settings.cpp

    r69070 r70606  
    27782778    fAPIC(true),
    27792779    fX2APIC(false),
     2780    fIBPBOnVMExit(false),
     2781    fIBPBOnVMEntry(false),
    27802782    enmLongMode(HC_ARCH_BITS == 64 ? Hardware::LongMode_Enabled : Hardware::LongMode_Disabled),
    27812783    cCPUs(1),
     
    29312933            && fAPIC                     == h.fAPIC
    29322934            && fX2APIC                   == h.fX2APIC
     2935            && fIBPBOnVMExit             == h.fIBPBOnVMExit
     2936            && fIBPBOnVMEntry            == h.fIBPBOnVMEntry
    29332937            && cCPUs                     == h.cCPUs
    29342938            && fCpuHotPlug               == h.fCpuHotPlug
     
    39333937            if (hw.fX2APIC)
    39343938                hw.fAPIC = true;
     3939            pelmCPUChild = pelmHwChild->findChildElement("IBPBOn");
     3940            if (pelmCPUChild)
     3941            {
     3942                pelmCPUChild->getAttributeValue("vmexit", hw.fIBPBOnVMExit);
     3943                pelmCPUChild->getAttributeValue("vmentry", hw.fIBPBOnVMEntry);
     3944            }
    39353945
    39363946            if ((pelmCPUChild = pelmHwChild->findChildElement("CpuIdTree")))
     
    52595269    if (m->sv >= SettingsVersion_v1_16)
    52605270    {
     5271        if (hw.fIBPBOnVMEntry || hw.fIBPBOnVMExit)
     5272        {
     5273            xml::ElementNode *pelmChild = pelmCPU->createChild("IBPBOn");
     5274            if (hw.fIBPBOnVMExit)
     5275                pelmChild->setAttribute("vmexit", hw.fIBPBOnVMExit);
     5276            if (hw.fIBPBOnVMEntry)
     5277                pelmChild->setAttribute("vmentry", hw.fIBPBOnVMEntry);
     5278        }
    52615279    }
    52625280    if (m->sv >= SettingsVersion_v1_14 && hw.enmLongMode != Hardware::LongMode_Legacy)
     
    69306948            || hardwareMachine.biosSettings.apicMode != APICMode_APIC
    69316949            || !hardwareMachine.fAPIC
    6932             || hardwareMachine.fX2APIC)
     6950            || hardwareMachine.fX2APIC
     6951            || hardwareMachine.fIBPBOnVMExit
     6952            || hardwareMachine.fIBPBOnVMEntry)
    69336953        {
    69346954            m->sv = SettingsVersion_v1_16;
Note: See TracChangeset for help on using the changeset viewer.

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