1 #ifndef ARM_COMMON__KVM_CONFIG_ARCH_H 2 #define ARM_COMMON__KVM_CONFIG_ARCH_H 3 4 #include "kvm/parse-options.h" 5 6 struct kvm_config_arch { 7 const char *dump_dtb_filename; 8 unsigned int force_cntfrq; 9 bool aarch32_guest; 10 }; 11 12 #define OPT_ARCH_RUN(pfx, cfg) \ 13 pfx, \ 14 ARM_OPT_ARCH_RUN(cfg) \ 15 OPT_STRING('\0', "dump-dtb", &(cfg)->dump_dtb_filename, \ 16 ".dtb file", "Dump generated .dtb to specified file"), \ 17 OPT_UINTEGER('\0', "override-bad-firmware-cntfrq", &(cfg)->force_cntfrq,\ 18 "Specify Generic Timer frequency in guest DT to " \ 19 "work around buggy secure firmware *Firmware should be " \ 20 "updated to program CNTFRQ correctly*"), 21 22 #endif /* ARM_COMMON__KVM_CONFIG_ARCH_H */ 23