Skip to contentSkip to conversation

tools/libs/guest: Fix build following libx86 changes

PATCH In review Andrew Cooper 2 participants 2 messages Apr 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libs/guest: Fix build following libx86 changes

I appear to have lost this hunk somewhere...

Fixes 1b67fccf3b02 ("libx86: Update library API for cpu_policy")

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Anthony PERARD <[email protected]>

---
 tools/libs/guest/xg_cpuid_x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libs/guest/xg_cpuid_x86.c +1 -1
index 33d366a8eb43..bd16a87e489c 100644
@@ -555,7 +555,7 @@ int xc_cpuid_apply_policy(xc_interface *xch, uint32_t domid, bool restore,
             const uint32_t *dfs;
 
             if ( !test_bit(b, disabled_features) ||
-                 !(dfs = x86_cpuid_lookup_deep_deps(b)) )
+                 !(dfs = x86_cpu_policy_lookup_deep_deps(b)) )
                 continue;
 
             for ( i = 0; i < ARRAY_SIZE(disabled_features); ++i )
Signature · 1 line
2.30.2