connection: Cache x86 cpu values at connection time

This commit is contained in:
Cole Robinson 2014-09-12 09:36:09 -04:00
parent 1662f75e07
commit 92835f205f
1 changed files with 3 additions and 0 deletions

View File

@ -992,6 +992,9 @@ class vmmConnection(vmmGObject):
self.get_uri(), self.caps.xml)
self._add_conn_events()
# Prime CPU cache
self.caps.get_cpu_values(self.get_backend(), "x86_64")
try:
self._backend.setKeepAlive(20, 1)
except Exception, e: