Qemu fails to start with error " There is no option group 'spice'"
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
After upgrade from 5.1.0 to 5.2.0, qemu fails on start with error:
`
/usr/bin/
qemu-system-
qemu-system-x86_64: -readconfig /var/log/
`
Bisected to first bad commit: https:/
| tags: | removed: qemu |
| Changed in qemu: | |
| status: | Fix Committed → Fix Released |

Additional information: This error occurs only if spice is compiled as module (`--enable- modules` ) and spice parameters are supplied from file with `-readconfig /path/to/file` . If spice parameters are supplied from the command line (`-spice param1=a,param2=b`) , an error does not occur.
Possible workaround: Build most modules statically (https:/ /salsa. debian. org/qemu- team/qemu/ -/blob/ master/ debian/ patches/ build-most- modules- statically- hack.diff) or disable modules entirely (`--disable- modules` )