KVM: LoongArch: selftests: Enable LSX/LASX by auto detection

Add LSX and LASX features when VM is created. These features are detected
firstly, enable it if it is available on host machine.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
Bibo Mao 2026-08-10 12:21:58 +08:00 • committed by Huacai Chen
commit 7513f2298c
2 changed files with 20 additions and 1 deletions