summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1839.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1839.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1839.toml53
1 files changed, 53 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1839.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1839.toml
new file mode 100644
index 000000000..b9442d6a0
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1839.toml
@@ -0,0 +1,53 @@
+id = 1839
+title = "command line option (fw_cfg) not being treated as opaque and generates error \"short-form boolean option 'x' deprecated\""
+state = "closed"
+created_at = "2023-08-20T06:42:31.291Z"
+closed_at = "2024-01-22T13:05:17.566Z"
+labels = ["Bite Sized", "Documentation"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1839"
+host-os = "Proxmox 8.x"
+host-arch = "x86_64"
+qemu-version = "QEMU emulator version 8.0.2 (pve-qemu-kvm_8.0.2-4)"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """I'm trying to run qemu with `fw_cfg` arguments. With a full example I am trying to provide an ignition configuration a flatcar VM using a 'string' parameter which is JSON (rather than a file parameter).
+
+Running qemu with command line options where the fields have arbitrary data that should be opaque to qemu are being interpreted and cause the command line argument parsing the fail. I have tried putting quotes and double quotes around various parts of the command without success.
+
+
+Sorry, but I haven't tested this with latest (v8.1.0.rc4 / v8.0.4)
+
+Examples:
+
+```# qemu-system-x86_64 -fw_cfg name=z,string=a,b
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: warning: short-form boolean option 'b' deprecated
+Please use b=on instead
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: Invalid parameter 'b'
+```
+
+Single quotes around the `string` value:
+```
+# qemu-system-x86_64 -fw_cfg name=z,string='a,b'
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: warning: short-form boolean option 'b' deprecated
+Please use b=on instead
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: Invalid parameter 'b'
+```
+
+Double quotes around the `string` value
+```
+# qemu-system-x86_64 -fw_cfg name=z,string="a,b"
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: warning: short-form boolean option 'b' deprecated
+Please use b=on instead
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: Invalid parameter 'b'
+
+```
+
+Double quotes around the whole `fw_cfg` option value:
+```
+# qemu-system-x86_64 -fw_cfg "name=z,string=a,b"
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: warning: short-form boolean option 'b' deprecated
+Please use b=on instead
+qemu-system-x86_64: -fw_cfg name=z,string=a,b: Invalid parameter 'b'
+```"""
+reproduce = "n/a"
+additional = "n/a"