Hello, I am new to the QEMU code base and I am working on a project involving a custom hardware model representing a customized ppc board. What is the best way to add command line arguments applicable to my model?
I see options in qemu-options.hx + vl.c, but I am not sure if that is the right place for arguments that only apply to one model, and I am not sure how to access those options from my model. I also see the function qemu_opts_create which looks like it can add command line arguments at runtime, but I am not sure where to use this in my model since it seems like my model code (machine state, class, and instance functions) does not run when invoking "qemu-system-ppc -machine mymodel -help". If there is some good documentation or examples, please point me in the right direction. thanks for your help, Mark
