Like LBT feature, add type OnOffAuto for LSX and LASX feature setting.
Also add feature detection with new VM ioctl command, fallback to old
method if it is not supported.
Bibo Mao (2):
target/loongarch: Use auto method with LSX feature
target/loongarch: Use auto method with LASX feature
target/loongarch/cpu.c | 82 ++++++++++++++++------------
target/loongarch/cpu.h | 4 ++
target/loongarch/kvm/kvm.c | 107 +++++++++++++++++++++++++++++++++++++
3 files changed, 160 insertions(+), 33 deletions(-)
base-commit: 1cf9bc6eba7506ab6d9de635f224259225f63466
--
2.39.3