qvm-tools: fix error message for setting vcpus using qvm-prefs

Simple typo, but results in exception.
This commit is contained in:
Marek Marczykowski-Górecki 2014-09-16 01:21:21 +02:00
parent 4913fc4fbc
commit 591826daa2

View File

@ -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)