From 591826daa241d3ad3a22f2f779e04cc4cc9b5c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 16 Sep 2014 01:21:21 +0200 Subject: [PATCH] qvm-tools: fix error message for setting vcpus using qvm-prefs Simple typo, but results in exception. --- qvm-tools/qvm-prefs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qvm-tools/qvm-prefs b/qvm-tools/qvm-prefs index f00cd704..c12850a1 100755 --- a/qvm-tools/qvm-prefs +++ b/qvm-tools/qvm-prefs @@ -277,7 +277,8 @@ def set_vcpus(vms, vm, args): qubes_host = QubesHost() if vcpus > qubes_host.no_cpus: - print >> sys.stderr, "This host has only {0} cpus".format(ubes_host.no_cpus) + print >> sys.stderr, "This host has only {0} cpus".format( + qubes_host.no_cpus) return False print >> sys.stderr, "Setting vcpus count for VM '{0}' to '{1}'...".format (vm.name, vcpus)