incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rg...@apache.org
Subject svn commit: r1433421 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
Date Tue, 15 Jan 2013 14:03:20 GMT
Author: rgass
Date: Tue Jan 15 14:03:20 2013
New Revision: 1433421

URL: http://svn.apache.org/viewvc?rev=1433421&view=rev
Log:
Adding "-balloon virtio" to enable qemu to dynamically change amount of memory allocated to
a vm  



Modified:
    incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py

Modified: incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py?rev=1433421&r1=1433420&r2=1433421&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py Tue Jan 15 14:03:20 2013
@@ -558,7 +558,7 @@ class Qemu(VmControlInterface):
 			noAcpiString = ""
 
 		#  Construct the qemu command
-		strCmd = "%s %s %s -clock %s %s %s -m %d -smp %d -serial null -vnc none -monitor pty" %
(self.QEMU_BIN, noAcpiString, cpuString, clockString, diskString, nicString, instance.memory,
instance.cores)
+		strCmd = "%s %s %s -clock %s %s %s -m %d -smp %d -serial null -vnc none -monitor pty -balloon
virtio" % (self.QEMU_BIN, noAcpiString, cpuString, clockString, diskString, nicString, instance.memory,
instance.cores)
 		if (source):
 			strCmd = '%s -incoming "%s"' % (strCmd, source)
 		# XXXstroucki perhaps we're doing it backwards



Mime
View raw message