Blob Blame History Raw
# HG changeset patch
# User Cole Robinson <crobinso@redhat.com>
# Date 1253823268 14400
# Node ID d78b7e7131439dc9f22c8e7391e82c5f29888fe8
# Parent  cfcd19d057ddc973a129e7816cd4ea39f0d4365a
Fix vcpu hotplug.

diff -r cfcd19d057dd -r d78b7e713143 src/virtManager/domain.py
--- a/src/virtManager/domain.py	Thu Sep 24 11:41:49 2009 -0400
+++ b/src/virtManager/domain.py	Thu Sep 24 16:14:28 2009 -0400
@@ -1355,7 +1355,7 @@
         self._change_cdrom(result, dev_id_info)
 
     def hotplug_vcpu(self, vcpus):
-        self.vm.setVcpus()
+        self.vm.setVcpus(int(vcpus))
 
     def hotplug_vcpus(self, vcpus):
         vcpus = int(vcpus)