x86: 0.929 files: 0.867 device: 0.852 architecture: 0.664 network: 0.642 kernel: 0.593 graphic: 0.546 performance: 0.526 ppc: 0.478 semantic: 0.470 socket: 0.450 vnc: 0.397 mistranslation: 0.385 hypervisor: 0.377 virtual: 0.370 permissions: 0.295 debug: 0.293 register: 0.269 risc-v: 0.263 boot: 0.261 PID: 0.259 VMM: 0.257 i386: 0.253 TCG: 0.251 user-level: 0.223 peripherals: 0.223 KVM: 0.213 arm: 0.192 assembly: 0.054 qemu -readconfig/-writeconfig cannot handle quotes in values $ qemu-system-x86_64 -drive file=/tmp/foo\" -writeconfig - # qemu config file [drive] file = "/tmp/foo"" For bonus points, try to construct a value qemu config file that contains a quoted value. It's pretty clear (from looking at the code also) that this is not possible. Also: - maximum value length is hard-coded in the parser at 1023 characters (for no apparent reason) - the format is undocumented - don't use sscanf for parsing! This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/142