Skip to content

Commit e07dcd6

Browse files
committed
Merge remote-tracking branch 'upstream/main' into limits
2 parents 2676ab0 + 54bc150 commit e07dcd6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

server/src/main/java/com/cloud/storage/snapshot/SnapshotManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public interface SnapshotManager extends Configurable {
5656
public static final ConfigKey<Integer> BackupRetryInterval = new ConfigKey<Integer>(Integer.class, "backup.retry.interval", "Advanced", "300",
5757
"Time in seconds between retries in backing up snapshot to secondary", false, ConfigKey.Scope.Global, null);
5858

59-
public static final ConfigKey<Boolean> VmStorageSnapshotKvm = new ConfigKey<>(Boolean.class, "kvm.vmstoragesnapshot.enabled", "Snapshots", "false", "For live snapshot of virtual machine instance on KVM hypervisor without memory. Requieres qemu version 1.6+ (on NFS or Local file system) and qemu-guest-agent installed on guest VM", true, ConfigKey.Scope.Global, null);
59+
public static final ConfigKey<Boolean> VmStorageSnapshotKvm = new ConfigKey<>(Boolean.class, "kvm.vmstoragesnapshot.enabled", "Snapshots", "false", "For live snapshot of virtual machine instance on KVM hypervisor without memory. Requires qemu version 1.6+ (on NFS or Local file system) and qemu-guest-agent installed on guest VM", true, ConfigKey.Scope.Global, null);
6060

6161
void deletePoliciesForVolume(Long volumeId);
6262

vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ public boolean setVncConfigInfo(boolean enableVnc, String vncPassword, int vncPo
11851185
}
11861186

11871187
public boolean configureVm(VirtualMachineConfigSpec vmConfigSpec) throws Exception {
1188+
logger.debug("Reconfiguring virtual machine {} using spec {}.", this, GSON.toJson(vmConfigSpec));
11881189
ManagedObjectReference morTask = _context.getService().reconfigVMTask(_mor, vmConfigSpec);
11891190

11901191
boolean result = _context.getVimClient().waitForTask(morTask);
@@ -3841,4 +3842,9 @@ public void removeChangeTrackPathFromVmdkForDisks() throws Exception {
38413842
logger.info("Removed property ChangeTrackPath from VMDK content file " + diskBackingInfo.getFileName());
38423843
}
38433844
}
3845+
3846+
@Override
3847+
public String toString() {
3848+
return ReflectionToStringBuilderUtils.reflectOnlySelectedFields(this, "internalCSName");
3849+
}
38443850
}

0 commit comments

Comments
 (0)