target/i386: KVM: allow fast string operations if host supports them
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Feb 2023 09:41:46 +0000 (10:41 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Feb 2023 17:44:57 +0000 (18:44 +0100)
commit3023c9b4d1092eb27a523c08d9e78cbaec67b59b
treed8ae0596a9013d747f78a78a09cf02c671bcb403
parent58794f644e43ef8e60ed05395c58099311c1fcd1
target/i386: KVM: allow fast string operations if host supports them

These are just a flag that documents the performance characteristic of
an instruction; it needs no hypervisor support.  So include them even
if KVM does not show them.  In particular, FZRM/FSRS/FSRC have only
been added very recently, but they are available on Sapphire Rapids
processors.

Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm/kvm.c