summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1686364
blob: c0a8e491bf47831d5821fd3d6a5131f0e2fb4184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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!