remove -writeconfig
commite960a7ee46e29556b80996bed396b79d7077f82f
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Apr 2022 14:57:21 +0000 (14 10:57 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Apr 2022 06:51:56 +0000 (28 08:51 +0200)
treeea9e67cc0260a1319dd4dd79a78f856e7098a053
parent1f3f2bfe0ef8f3c0232a1de66c1f9cc46512afea
remove -writeconfig

Like -set and -readconfig, it would not really be too hard to
extend -writeconfig to parsing mechanisms other than QemuOpts.
However, the uses of -writeconfig are substantially more
limited, as it is generally easier to write the configuration
by hand in the first place.  In addition, -writeconfig does
not even try to detect cases where it prints incorrect
syntax (for example if values have a quote in them, since
qemu_config_parse does not support any kind of escaping.
Just remove it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220414145721.326866-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/about/deprecated.rst
docs/about/removed-features.rst
include/qemu/config-file.h
qemu-options.hx
softmmu/vl.c
util/qemu-config.c