31963197319831993200320132023203320432053206
DiskDef.diskBus diskBusType = getGuestDiskModel(vmSpec.getOs()); DiskDef disk = new DiskDef(); if (volume.getType() == Volume.Type.ISO) { if (volPath == null) { /* Add iso as placeholder */ disk.defISODisk(null); } else { disk.defISODisk(volPath); } } else { int devId = (int) volume.getDeviceId();
31983199320032013202320332043205320632073208
if (volume.getType() == Volume.Type.ISO) { if (volPath == null) { /* Add iso as placeholder */ disk.defISODisk(null); } else { disk.defISODisk(volPath); } } else { int devId = (int) volume.getDeviceId(); if (pool.getType() == StoragePoolType.RBD) {
32343235323632373238323932403241324232433244
} if (vmSpec.getType() != VirtualMachine.Type.User) { if (_sysvmISOPath != null) { DiskDef iso = new DiskDef(); iso.defISODisk(_sysvmISOPath); vm.getDevices().addDevice(iso); } createPatchVbd(conn, vmName, vm, vmSpec); }
33863387338833893390339133923393339433953396
path); KVMPhysicalDisk isoVol = secondaryPool.getPhysicalDisk(name); isoPath = isoVol.getPath(); DiskDef iso = new DiskDef(); iso.defISODisk(isoPath); isoXml = iso.toString(); } else { DiskDef iso = new DiskDef(); iso.defISODisk(null); isoXml = iso.toString();
33903391339233933394339533963397339833993400
DiskDef iso = new DiskDef(); iso.defISODisk(isoPath); isoXml = iso.toString(); } else { DiskDef iso = new DiskDef(); iso.defISODisk(null); isoXml = iso.toString(); } List<DiskDef> disks = getDisks(conn, vmName); String result = attachOrDetachDevice(conn, true, vmName, isoXml);
37993800380138023803380438053806380738083809
DiskDef.diskBus diskBusType = getGuestDiskModel(vmSpec.getOs()); DiskDef disk = new DiskDef(); if (volume.getType() == Volume.Type.ISO) { if (volPath == null) { /* Add iso as placeholder */ disk.defISODisk(null); } else { disk.defISODisk(volPath); } } else { int devId = volume.getDiskSeq().intValue();
38013802380338043805380638073808380938103811
if (volume.getType() == Volume.Type.ISO) { if (volPath == null) { /* Add iso as placeholder */ disk.defISODisk(null); } else { disk.defISODisk(volPath); } } else { int devId = volume.getDiskSeq().intValue(); if (pool.getType() == StoragePoolType.RBD) {
38483849385038513852385338543855385638573858
} if (vmSpec.getType() != VirtualMachine.Type.User) { if (_sysvmISOPath != null) { DiskDef iso = new DiskDef(); iso.defISODisk(_sysvmISOPath); vm.getDevices().addDevice(iso); } } // For LXC, find and add the root filesystem
39293930393139323933393439353936393739383939
39333934393539363937393839393940394139423943