/** The following method will create a Shareable DiskImage with a specified format */
 private DiskImage createShareableDisk(VolumeFormat volumeFormat) {
   DiskImage disk = createDiskImage();
   disk.setvolumeFormat(volumeFormat);
   disk.setShareable(true);
   disk.setDiskInterface(DiskInterface.VirtIO);
   return disk;
 }
 private static DiskImage createShareableDiskImage() {
   DiskImage image = new DiskImage();
   image.setShareable(true);
   image.setDiskInterface(DiskInterface.IDE);
   return image;
 }