VirtualBox

Changeset 19252 in vbox for trunk/src/VBox/VMM/HWACCM.cpp


Ignore:
Timestamp:
Apr 29, 2009 9:56:19 AM (16 years ago)
Author:
vboxsync
Message:

SUPCallVMMR0(Ex) arguments must include the VCPU id.
Note: support driver major version change!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r18941 r19252  
    459459
    460460    /* Enable VT-x or AMD-V on all host CPUs. */
    461     rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_ENABLE, 0, NULL);
     461    rc = SUPCallVMMR0Ex(pVM->pVMR0, 0 /* VCPU 0 */, VMMR0_DO_HWACC_ENABLE, 0, NULL);
    462462    if (RT_FAILURE(rc))
    463463    {
     
    828828            }
    829829
    830             rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
     830            rc = SUPCallVMMR0Ex(pVM->pVMR0, 0 /* VCPU 0 */, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
    831831            AssertRC(rc);
    832832            if (rc == VINF_SUCCESS)
     
    936936                pVM->hwaccm.s.fNestedPaging = pVM->hwaccm.s.fAllowNestedPaging;
    937937
    938             rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
     938            rc = SUPCallVMMR0Ex(pVM->pVMR0, 0 /* VCPU 0 */, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
    939939            AssertRC(rc);
    940940            if (rc == VINF_SUCCESS)
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