mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
connection: Cache host arch CPU model list on startup
Rather than hardcode x86_64
This commit is contained in:
parent
ca56f74ed7
commit
a0a8470362
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user