The sandbox option elevelateprivileges=deny does not work with -daemonize
Host environment
- Operating system: Arch Linux
- OS/kernel version: Linux 5.15.5-arch1-1
- Architecture: x86
- QEMU flavor:
qemu-system-x86_64
- QEMU version: 6.1.0
Description of problem
qemu will not launch if -sandbox on,elevateprivileges=deny
and -daemonize
are set at the same time.
Steps to reproduce
qemu-system-x86_64 -sandbox on,elevateprivileges=deny -nodefaults -daemonize
-> fails to launch
qemu-system-x86_64 -sandbox on -nodefaults -daemonize
-> runs normally