From ba6fb27bc874b940a2a8a34e24a6c34ecabb3ba8 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 19 Jan 2016 08:15:36 -0800 Subject: [PATCH] Remove vme and ssse3 from gate64 cpu mapping It turns out that we need to be even more restrictive on the cpu flags we expose as some clouds don't expose vme or ssse3. Fixes-Bug: 1535799 Change-Id: I6c8c1101771d1c5496884be7a405285472ae803a --- tools/cpu_map_update.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/cpu_map_update.py b/tools/cpu_map_update.py index 1938793114..92b7b8f9a3 100755 --- a/tools/cpu_map_update.py +++ b/tools/cpu_map_update.py @@ -30,7 +30,8 @@ def update_cpu_map(tree): x86 = arch break if x86 is not None: - # Create a gate64 cpu model that is core2duo less monitor and pse36 + # Create a gate64 cpu model that is core2duo less monitor, pse36, + # vme, and ssse3. gate64 = ET.SubElement(x86, "model") gate64.set("name", "gate64") ET.SubElement(gate64, "vendor").set("name", "Intel") @@ -51,13 +52,11 @@ def update_cpu_map(tree): ET.SubElement(gate64, "feature").set("name", "fxsr") ET.SubElement(gate64, "feature").set("name", "sse") ET.SubElement(gate64, "feature").set("name", "sse2") - ET.SubElement(gate64, "feature").set("name", "vme") ET.SubElement(gate64, "feature").set("name", "mtrr") ET.SubElement(gate64, "feature").set("name", "mca") ET.SubElement(gate64, "feature").set("name", "clflush") ET.SubElement(gate64, "feature").set("name", "pni") ET.SubElement(gate64, "feature").set("name", "nx") - ET.SubElement(gate64, "feature").set("name", "ssse3") ET.SubElement(gate64, "feature").set("name", "syscall") ET.SubElement(gate64, "feature").set("name", "lm")