qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Querying possible -cpu variants


From: Pavel Dovgalyuk
Subject: [Qemu-devel] Querying possible -cpu variants
Date: Fri, 25 Jan 2019 12:58:04 +0300

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

[Prev in Thread] Current Thread [Next in Thread]