Re: [PATCH 1/4] target/i386: move max_features to class

2025-07-10 Thread Zhao Liu
On Fri, Jul 11, 2025 at 02:06:00AM +0200, Paolo Bonzini wrote: > Date: Fri, 11 Jul 2025 02:06:00 +0200 > From: Paolo Bonzini > Subject: [PATCH 1/4] target/i386: move max_features to class > X-Mailer: git-send-email 2.50.0 > > max_features is always set to true for instances c

Re: [PATCH 1/4] target/i386: move max_features to class

2025-07-10 Thread Xiaoyao Li
On 7/11/2025 8:06 AM, Paolo Bonzini wrote: max_features is always set to true for instances created by -cpu max or -cpu host; it's always false for other classes. Therefore it can be turned into a field in the X86CPUClass. Signed-off-by: Paolo Bonzini missed one place: 8<--

[PATCH 1/4] target/i386: move max_features to class

2025-07-10 Thread Paolo Bonzini
max_features is always set to true for instances created by -cpu max or -cpu host; it's always false for other classes. Therefore it can be turned into a field in the X86CPUClass. Signed-off-by: Paolo Bonzini --- target/i386/cpu.h | 2 +- target/i386/cpu.c | 5 +++-- target/i386