diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-14 10:57:21 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-28 08:51:56 +0200 |
| commit | e960a7ee46e29556b80996bed396b79d7077f82f (patch) | |
| tree | ea9e67cc0260a1319dd4dd79a78f856e7098a053 /include/qemu/config-file.h | |
| parent | 1f3f2bfe0ef8f3c0232a1de66c1f9cc46512afea (diff) | |
| download | focaccia-qemu-e960a7ee46e29556b80996bed396b79d7077f82f.tar.gz focaccia-qemu-e960a7ee46e29556b80996bed396b79d7077f82f.zip | |
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>
Diffstat (limited to 'include/qemu/config-file.h')
| -rw-r--r-- | include/qemu/config-file.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qemu/config-file.h b/include/qemu/config-file.h index f605423321..321e7c7c03 100644 --- a/include/qemu/config-file.h +++ b/include/qemu/config-file.h @@ -12,7 +12,6 @@ void qemu_add_opts(QemuOptsList *list); void qemu_add_drive_opts(QemuOptsList *list); int qemu_global_option(const char *str); -void qemu_config_write(FILE *fp); int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname, Error **errp); |