From 9a5301f98509833d98b7a55c1bce43ee3a21699b Mon Sep 17 00:00:00 2001 From: ertaozh Date: Sat, 14 Feb 2015 22:21:53 -0500 Subject: [PATCH] fix bug 4433: chvm CN add_physlots= returns "Can not get hypervisor information" --- perl-xCAT/xCAT/FSPvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPvm.pm b/perl-xCAT/xCAT/FSPvm.pm index 3eb86ea01..16d310bac 100644 --- a/perl-xCAT/xCAT/FSPvm.pm +++ b/perl-xCAT/xCAT/FSPvm.pm @@ -928,7 +928,7 @@ sub do_op_extra_cmds { } if (@query_array) { my $rethash = query_cec_info_actions($request, $name, $d, 1, \@query_array); - unless (scalar keys(%$memhash)) { + unless (scalar keys(%$rethash)) { push @values, [$mtms, "Can not get hypervisor information", 1]; next; }