You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When going to Show virutal hardware details>CPUs constantly getting this error.
Error refreshing hardware page: 'virConnect' object has no attribute 'baselineHypervisorCPU'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/details/details.py", line 1025, in hw_selected
self.refresh_config_cpu()
File "/usr/share/virt-manager/virtManager/details/details.py", line 2223, in refresh_config_cpu
if not self._cpu_secure_is_available():
File "/usr/share/virt-manager/virtManager/details/details.py", line 2167, in _cpu_secure_is_available
features = domcaps.get_cpu_security_features()
File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 309, in get_cpu_security_features
cpu = self._get_expanded_cpu(m)
File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 278, in _get_expanded_cpu
expandedXML = self.conn.baselineHypervisorCPU(
File "/usr/share/virt-manager/virtinst/connection.py", line 118, in getattr
return getattr(libvirtconn, attr)
AttributeError: 'virConnect' object has no attribute 'baselineHypervisorCPU'
The text was updated successfully, but these errors were encountered:
Thanks for the info, it confirms my suspicion. You have libvirt 4.0.0 and probably libvirt-python 4.0.0 where there is no baselineHypervisorCPU API. I'll improve the code to properly handle this case and use older API if the new one is missing. Thanks for the report.
When going to Show virutal hardware details>CPUs constantly getting this error.
Error refreshing hardware page: 'virConnect' object has no attribute 'baselineHypervisorCPU'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/details/details.py", line 1025, in hw_selected
self.refresh_config_cpu()
File "/usr/share/virt-manager/virtManager/details/details.py", line 2223, in refresh_config_cpu
if not self._cpu_secure_is_available():
File "/usr/share/virt-manager/virtManager/details/details.py", line 2167, in _cpu_secure_is_available
features = domcaps.get_cpu_security_features()
File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 309, in get_cpu_security_features
cpu = self._get_expanded_cpu(m)
File "/usr/share/virt-manager/virtinst/domcapabilities.py", line 278, in _get_expanded_cpu
expandedXML = self.conn.baselineHypervisorCPU(
File "/usr/share/virt-manager/virtinst/connection.py", line 118, in getattr
return getattr(libvirtconn, attr)
AttributeError: 'virConnect' object has no attribute 'baselineHypervisorCPU'
The text was updated successfully, but these errors were encountered: