Re: [PULL 12/23] qemu-config: add error propagation to qemu_config_parse

2021-06-29 Thread Peter Maydell
On Sat, 6 Mar 2021 at 10:59, Paolo Bonzini wrote: > > This enables some simplification of vl.c via error_fatal, and improves > error messages. Before: > > $ ./qemu-system-x86_64 -readconfig . > qemu-system-x86_64: error reading file > qemu-system-x86_64: -readconfig .: read config .: Invali

[PULL 12/23] qemu-config: add error propagation to qemu_config_parse

2021-03-06 Thread Paolo Bonzini
This enables some simplification of vl.c via error_fatal, and improves error messages. Before: $ ./qemu-system-x86_64 -readconfig . qemu-system-x86_64: error reading file qemu-system-x86_64: -readconfig .: read config .: Invalid argument $ /usr/libexec/qemu-kvm -readconfig foo qemu-kvm: