qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Pavel Dovgalyuk" <dovgaluk@ispras.ru>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, mdroth@linux.vnet.ibm.com, eblake@redhat.com,
	"'Фурсова Наталия'" <Natalia.Fursova@ispras.ru>
Subject: [Qemu-devel] Querying possible -cpu variants
Date: Fri, 25 Jan 2019 12:58:04 +0300	[thread overview]
Message-ID: <003301d4b494$775585c0$66009140$@ru> (raw)

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	other threads:[~2019-01-25  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25  9:58 Pavel Dovgalyuk [this message]
2019-01-25 10:04 ` [Qemu-devel] Querying possible -cpu variants Peter Maydell
2019-01-25 10:10 ` Daniel P. Berrangé
2019-01-25 10:38   ` Pavel Dovgalyuk
2019-01-25 13:31   ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003301d4b494$775585c0$66009140$@ru' \
    --to=dovgaluk@ispras.ru \
    --cc=Natalia.Fursova@ispras.ru \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).