Re: [PATCH] target/i386: add feature dependency for XSAVE

2024-05-09 Thread Zhao Liu
On Thu, May 09, 2024 at 05:39:52PM +0200, Paolo Bonzini wrote: > Date: Thu, 9 May 2024 17:39:52 +0200 > From: Paolo Bonzini > Subject: [PATCH] target/i386: add feature dependency for XSAVE > X-Mailer: git-send-email 2.45.0 > > The XSAVEOPT, XSAVEC, XGETBV1, XSAVES features ma

[PATCH] target/i386: add feature dependency for XSAVE

2024-05-09 Thread Paolo Bonzini
The XSAVEOPT, XSAVEC, XGETBV1, XSAVES features make no sense if you cannot enable XSAVE in the first place. Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 4 1 file changed, 4 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index f2ea6899e39..6f5ff71c6ee 100644 --- a