@@ -48,6 +48,7 @@ struct isa_ext_info isa_info_arr[] = {
{"zksed", KVM_RISCV_ISA_EXT_ZKSED},
{"zksh", KVM_RISCV_ISA_EXT_ZKSH},
{"zkt", KVM_RISCV_ISA_EXT_ZKT},
+ {"ztso", KVM_RISCV_ISA_EXT_ZTSO},
{"zvbb", KVM_RISCV_ISA_EXT_ZVBB},
{"zvbc", KVM_RISCV_ISA_EXT_ZVBC},
{"zvfh", KVM_RISCV_ISA_EXT_ZVFH},
@@ -121,6 +121,9 @@ struct kvm_config_arch {
OPT_BOOLEAN('\0', "disable-zkt", \
&(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZKT], \
"Disable Zkt Extension"), \
+ OPT_BOOLEAN('\0', "disable-ztso", \
+ &(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZTSO], \
+ "Disable Ztso Extension"), \
OPT_BOOLEAN('\0', "disable-zvbb", \
&(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZVBB], \
"Disable Zvbb Extension"), \
When the Ztso extension is available expose it to the guest via device tree so that guest can use it. Signed-off-by: Anup Patel <apatel@ventanamicro.com> --- riscv/fdt.c | 1 + riscv/include/kvm/kvm-config-arch.h | 3 +++ 2 files changed, 4 insertions(+)