From 7094e066c87aeef7faf66e18c14cb1f021b3abdd Mon Sep 17 00:00:00 2001 From: Kelven Yang Date: Thu, 4 Nov 2010 17:40:14 -0700 Subject: [PATCH] CopyVolume hacking for vmware --- core/src/com/cloud/agent/api/storage/CopyVolumeCommand.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/com/cloud/agent/api/storage/CopyVolumeCommand.java b/core/src/com/cloud/agent/api/storage/CopyVolumeCommand.java index 2e2c22e708a..152bd1563e0 100644 --- a/core/src/com/cloud/agent/api/storage/CopyVolumeCommand.java +++ b/core/src/com/cloud/agent/api/storage/CopyVolumeCommand.java @@ -28,6 +28,7 @@ public class CopyVolumeCommand extends Command { StoragePoolVO pool; String secondaryStorageURL; boolean toSecondaryStorage; + String vmName; public CopyVolumeCommand() { } @@ -64,4 +65,8 @@ public class CopyVolumeCommand extends Command { public boolean toSecondaryStorage() { return toSecondaryStorage; } + + public String getVmName() { + return vmName; + } }