Search in sources :

Example 1 with VirtualFloppyImageBackingInfo

use of com.vmware.vim25.VirtualFloppyImageBackingInfo in project photon-model by vmware.

the class ClientUtils method insertFloppy.

/**
 * Changes to backing of the floppy to an image-backed one.
 */
public static void insertFloppy(VirtualFloppy floppy, String imagePath) {
    VirtualFloppyImageBackingInfo backingInfo = new VirtualFloppyImageBackingInfo();
    backingInfo.setFileName(imagePath);
    floppy.setBacking(backingInfo);
}
Also used : VirtualFloppyImageBackingInfo(com.vmware.vim25.VirtualFloppyImageBackingInfo)

Aggregations

VirtualFloppyImageBackingInfo (com.vmware.vim25.VirtualFloppyImageBackingInfo)1