From 9524019f0b8b03dd70fe582dcae2b10c3889c07d Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 9 Jul 2013 12:30:20 +0000 Subject: [PATCH] Fixed the target disk address to be the same as the source disk address in cloning. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/zvm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/zvm.pm b/xCAT-server/lib/xcat/plugins/zvm.pm index 589ba4c98..286c2020b 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -1240,9 +1240,9 @@ sub changeVM { my $sourceId = $propVals->{'userid'}; # Assume flashcopy is supported (via SMAPI) - xCAT::zvmUtils->printLn( $callback, "$tgtNode: Copying $sourceId disk ($srcAddr) to $tgtUserId disk ($tgtAddr) using FLASHCOPY" ); + xCAT::zvmUtils->printLn( $callback, "$tgtNode: Copying $sourceId disk ($srcAddr) to $tgtUserId disk ($srcAddr) using FLASHCOPY" ); if (xCAT::zvmUtils->smapi4xcat($::SUDOER, $hcp)) { - $out = xCAT::zvmCPUtils->smapiFlashCopy($::SUDOER, $hcp, $sourceId, $srcAddr, $tgtUserId, $tgtAddr); + $out = xCAT::zvmCPUtils->smapiFlashCopy($::SUDOER, $hcp, $sourceId, $srcAddr, $tgtUserId, $srcAddr); xCAT::zvmUtils->printLn( $callback, "$tgtNode: $out" ); # Exit if flashcopy completed successfully