fix host machine memory reporting -- bz 211281

This commit is contained in:
Hugh O. Brock 2006-10-18 15:13:36 -04:00
parent bfc4bf69b5
commit 556b10f2bc
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ class vmmCreate(gobject.GObject):
ks_url_list.set_text_column(0)
self.window.get_widget("create-cpus-physical").set_text(str(self.connection.host_maximum_processor_count()))
memory = int(self.connection.host_memory_size())/1024
self.window.get_widget("create-host-memory").set_text("%d GB" % memory)
def reset_state(self):
notebook = self.window.get_widget("create-pages")