qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Preconfig state reachable without --preconfig given
@ 2018-06-01 13:28 Max Reitz
  2018-06-01 13:44 ` Max Reitz
  2018-06-02 10:46 ` Michal Privoznik
  0 siblings, 2 replies; 10+ messages in thread
From: Max Reitz @ 2018-06-01 13:28 UTC (permalink / raw)
  To: Igor Mammedov, qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hi,

The @preconfig RunState documentation states:

> The state is reachable only if the --preconfig CLI option is used.

However, this is not true:

$ echo | x86_64-softmmu/qemu-system-x86_64 -monitor stdio
QEMU 2.12.50 monitor - type 'help' for more information
(qemu)
HMP not available in preconfig state, use QMP instead

On IRC, Daniel proposed doing the runstate transition immediately after
the command line has been read and no --preconfig option has been found.
 Doing that indeed fixes the issue for me (but I don't know whether
that's the best solution).

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-06-06 11:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-01 13:28 [Qemu-devel] Preconfig state reachable without --preconfig given Max Reitz
2018-06-01 13:44 ` Max Reitz
2018-06-02 10:46 ` Michal Privoznik
2018-06-04  9:46   ` Max Reitz
2018-06-04 12:05     ` Igor Mammedov
2018-06-05 11:35       ` Dr. David Alan Gilbert
2018-06-04 14:04   ` Max Reitz
2018-06-04 20:24     ` Igor Mammedov
2018-06-06 10:35       ` Max Reitz
2018-06-06 11:00         ` Igor Mammedov

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).