From 49378b42e109b6e6651debd3f9d82a00fc4b6944 Mon Sep 17 00:00:00 2001 From: wangxiaopeng Date: Sat, 7 May 2016 01:13:25 -0400 Subject: [PATCH] issue 1068: kvm.pm: shutdown in rmvm will not destory the node object in kvm host, this will cause the next mkvm do nothing --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index f804bb328..1298dcabc 100755 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -1735,7 +1735,7 @@ sub rmvm { if ($currstate eq 'on') { if ($force) { $currxml = $dom->get_xml_description(); - $dom->shutdown(); + $dom->destroy(); } else { xCAT::SvrUtils::sendmsg([ 1, "Cannot rmvm active guest (use -f argument to force)" ], $callback, $node); return;