VirtualBox

Changeset 103158 in vbox


Ignore:
Timestamp:
Feb 1, 2024 10:29:15 AM (8 months ago)
Author:
vboxsync
Message:

ValidationKit/{common,testboxscript}: Add a has native API support flag when signing on indicating whether the testbox supports testing through NEM (Hyper-V on Windows, KVM on Linux and Hypervisor.framework on macOS). This is the first part not touching the actual testmanager, bugref:10592 [build and scm fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/TestBoxHelper.cpp

    r103156 r103158  
    6767# include <iprt/ldr.h>
    6868
    69 extern "C" HRESULT WINAPI 
     69extern "C" HRESULT WINAPI
    7070WHvGetCapability(UINT32 CapabilityCode, VOID *CapabilityBuffer, UINT32 CapabilityBufferSizeInBytes, UINT32 *WrittenSizeInBytes);
    7171#elif defined(RT_OS_LINUX)
     
    528528#elif defined(RT_OS_LINUX)
    529529    /* Check by opening /dev/kvm. */
    530     int fdKvm = open("/dev/kvm", O_RDWR | O_CLOEXEC);
     530    int fdKvm = open("/dev/kvm", O_RDWR);
    531531    if (fdKvm >= 0)
    532532    {
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