Hello.

 

We are making GUI for QEMU (which also should allow convenient record/replay 
command line
generation): https://github.com/ispras/qemu-gui

 

To fill the combo box in CPU selection form we run QEMU with "-cpu help" 
command and parse its
output.

The format of this list depends on target. Therefore our parsing code does not 
look good (and also
may corrupt someday).

 

Is there a better way of requesting this information?

 

Or we should do one of the following:

1.       Patch all targets and make the uniform "-cpu help" output format

2.       Add QMP command for requesting this list.

 

Pavel Dovgalyuk

 

Reply via email to