[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Preconfig state reachable without --preconfig given
From: |
Max Reitz |
Subject: |
[Qemu-devel] Preconfig state reachable without --preconfig given |
Date: |
Fri, 1 Jun 2018 15:28:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] Preconfig state reachable without --preconfig given,
Max Reitz <=