connection: Cache host arch CPU model list on startup

Rather than hardcode x86_64
This commit is contained in:
Cole Robinson 2017-07-17 11:41:47 -04:00
parent ca56f74ed7
commit a0a8470362

View File

@ -1055,7 +1055,7 @@ class vmmConnection(vmmGObject):
self._add_conn_events()
# Prime CPU cache
self.caps.get_cpu_values("x86_64")
self.caps.get_cpu_values(self.caps.host.cpu.arch)
try:
self._backend.setKeepAlive(20, 1)