1 #ifndef KVM__KVM_CONFIG_ARCH_H 2 #define KVM__KVM_CONFIG_ARCH_H 3 4 int vcpu_affinity_parser(const struct option *opt, const char *arg, int unset); 5 int sve_vl_parser(const struct option *opt, const char *arg, int unset); 6 7 #define ARM_OPT_ARCH_RUN(cfg) \ 8 OPT_BOOLEAN('\0', "aarch32", &(cfg)->aarch32_guest, \ 9 "Run AArch32 guest"), \ 10 OPT_BOOLEAN('\0', "pmu", &(cfg)->has_pmuv3, \ 11 "Create PMUv3 device. The emulated PMU will be" \ 12 " set to the PMU associated with the" \ 13 " main thread, unless --vcpu-affinity is set"), \ 14 OPT_BOOLEAN('\0', "disable-mte", &(cfg)->mte_disabled, \ 15 "Disable Memory Tagging Extension"), \ 16 OPT_CALLBACK('\0', "vcpu-affinity", kvm, "cpulist", \ 17 "Specify the CPU affinity that will apply to " \ 18 "all VCPUs", vcpu_affinity_parser, kvm), \ 19 OPT_U64('\0', "kaslr-seed", &(cfg)->kaslr_seed, \ 20 "Specify random seed for Kernel Address Space " \ 21 "Layout Randomization (KASLR)"), \ 22 OPT_BOOLEAN('\0', "no-pvtime", &(cfg)->no_pvtime, "Disable" \ 23 " stolen time"), \ 24 OPT_CALLBACK('\0', "sve-max-vl", NULL, "vector length", \ 25 "Specify the max SVE vector length (in bits) for " \ 26 "all vCPUs", sve_vl_parser, kvm), 27 #include "arm-common/kvm-config-arch.h" 28 29 #endif /* KVM__KVM_CONFIG_ARCH_H */ 30