VirtualBox

Ignore:
Timestamp:
Feb 24, 2015 10:46:34 AM (10 years ago)
Author:
vboxsync
Message:

ValidationKit: use new IVirtualBox.createMedium API method which replaces createHardDisk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r54122 r54432  
    99__copyright__ = \
    1010"""
    11 Copyright (C) 2010-2014 Oracle Corporation
     11Copyright (C) 2010-2015 Oracle Corporation
    1212
    1313This file is part of VirtualBox Open Source Edition (OSE), as
     
    17131713
    17141714        try:
    1715             oHd = self.oVBox.createHardDisk(sFmt, sHd);
     1715            if self.fpApiVer >= 4.4:
     1716                oHd = self.oVBox.createMedium(sFmt, sHd, vboxcon.AccessMode_ReadWrite, vboxcon.DeviceType_HardDisk);
     1717            else:
     1718                oHd = self.oVBox.createHardDisk(sFmt, sHd);
    17161719            oProgressXpcom = oHd.createBaseStorage(cb, (vboxcon.MediumVariant_Standard, ))
    17171720            oProgress = ProgressWrapper(oProgressXpcom, self.oVBoxMgr, self.oTstDrv, 'create disk %s' % (sHd));
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