On Wed, Aug 26, 2026 at 04:48:36PM +0800, Ewan Hai-oc wrote: > Date: Wed, 26 Aug 2026 16:48:36 +0800 > From: Ewan Hai-oc <[email protected]> > Subject: [PATCH v4 2/4] target/i386: Add Zhaoxin cryptographic CPUID > features > X-Mailer: git-send-email 2.34.1 > > Add QEMU feature names and masks for the SM2, CCS, RNG2, PHE2 and RSA > feature pairs in CPUID 0xC0000001 EDX. The matching KVM support exposes > these bits through KVM_GET_SUPPORTED_CPUID. > > TCG does not currently implement these instructions. Keep > TCG_EXT4_FEATURES at zero so QEMU filters the bits from realized TCG > CPUs. > > Link: > https://lore.kernel.org/all/[email protected]/ > Signed-off-by: Ewan Hai <[email protected]> > --- > target/i386/cpu.c | 10 +++++----- > target/i386/cpu.h | 20 ++++++++++++++++++++ > 2 files changed, 25 insertions(+), 5 deletions(-)
Reviewed-by: Zhao Liu <[email protected]>
