diff options
author | Thomas Huth <thuth@redhat.com> | 2022-11-11 15:13:23 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-12-15 15:19:23 +0100 |
commit | 2f129fc107b4a612bf4d6e7608ff8ea39d2c41cf (patch) | |
tree | c304db8ff528a5afecff5d5ba5a2133042f38743 /util/error-report.c | |
parent | aa4609dcb8788da7958fe8f6bf29ca0ad61ddb8c (diff) | |
download | qemu-2f129fc107b4a612bf4d6e7608ff8ea39d2c41cf.zip qemu-2f129fc107b4a612bf4d6e7608ff8ea39d2c41cf.tar.gz qemu-2f129fc107b4a612bf4d6e7608ff8ea39d2c41cf.tar.bz2 |
util/qemu-config: Fix "query-command-line-options" to provide the right values
The "query-command-line-options" command uses a hand-crafted list
of options that should be returned for the "machine" parameter.
This is pretty much out of sync with reality, for example settings
like "kvm_shadow_mem" or "accel" are not parameters for the machine
anymore. Also, there is no distinction between the targets here, so
e.g. the s390x-specific values like "loadparm" in this list also
show up with the other targets like x86_64.
Let's fix this now by geting rid of the hand-crafted list and by
querying the properties of the machine classes instead to assemble
the list.
Fixes: 0a7cf217d8 ("fix regression of qmp_query_command_line_options")
Message-Id: <20221111141323.246267-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'util/error-report.c')
0 files changed, 0 insertions, 0 deletions