mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu_x86: Add support for storing MSR features in CPU map
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -307,7 +307,8 @@ def parseMap():
|
||||
|
||||
cpuMap = {}
|
||||
for feature in data["cpus"]["feature"]:
|
||||
cpuMap[feature["@name"]] = parseFeature(feature["cpuid"])
|
||||
if "cpuid" in feature:
|
||||
cpuMap[feature["@name"]] = parseFeature(feature["cpuid"])
|
||||
|
||||
return cpuMap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user