VirtualBox

Changeset 22615 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 31, 2009 3:59:02 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51675
Message:

refined r51666

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r22493 r22615  
    638638    }
    639639
     640    if (pVM->hwaccm.s.vmx.fSupported)
     641    {
     642        rc = SUPR3QueryVTxSupported();
     643        if (RT_FAILURE(rc))
     644        {
     645#ifdef RT_OS_LINUX
     646            LogRel(("HWACCM: The host kernel does not support VT-x -- Linux 2.6.13 or newer required!\n"));
     647#else
     648            LogRel(("HWACCM: The host kernel does not support VT-x!\n"));
     649#endif
     650            return VINF_SUCCESS;
     651        }
     652    }
     653
    640654    if (!pVM->hwaccm.s.fAllowed)
    641655        return VINF_SUCCESS;    /* nothing to do */
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r22609 r22615  
    603603            int     aRc[RTCPUSET_MAX_CPUS];
    604604            RTCPUID idCpu = 0;
    605 
    606             rc = SUPR0QueryVTxSupport();
    607             if (RT_FAILURE(rc))
    608                 return rc;
    609605
    610606            memset(aRc, 0, sizeof(aRc));
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