@samitouri / QOSamiQemu / commits / a1f5762652

target/i386: make xsave_buf present unconditionally

This is necessary for the xsave_helper helpers to compile. Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> Link: https://lore.kernel.org/r/20260422214225.2242-28-mohamed@unpredictable.fr Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Mohamed Mediouni committed Apr 22, 2026 at 23:42 UTC a1f5762652b58d5620014e16985fa0483fd4cf3a
1 file changed -2
target/i386/cpu.h
-2
@@ -2270,10 +2270,8 @@ typedef struct CPUArchState {
2270 int64_t user_tsc_khz; /* for sanity check only */
2271 uint64_t apic_bus_freq;
2272 uint64_t tsc;
2273 -#if defined(CONFIG_KVM) || defined(CONFIG_HVF)
2273 void *xsave_buf;
2274 uint32_t xsave_buf_len;
2276 -#endif
2275 #if defined(CONFIG_KVM)
2276 struct kvm_nested_state *nested_state;
2277 MemoryRegion *xen_vcpu_info_mr;