daemoniz not working on MacOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
OS: MacOS Catalina 10.15.2
Qemu install via brew: brew install qemu
qemu-system-x86_64 -version
QEMU emulator version 4.2.50 (v4.2.0-
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
---
Start Ubuntu Desktop 18.04 client as follow:
IMG_CD=
IMG_FILE=
MAC_ADDR=
qemu-system-x86_64 \
-no-user-config -nodefaults \
-show-cursor \
-name u64d01 \
-M q35,accel=
-cpu host -smp 4 -m 2048 \
-overcommit mem-lock=off \
-overcommit cpu-pm=off \
-rtc base=utc,clock=host \
\
-device virtio-tablet-pci \
-device virtio-vga \
\
-device virtio-
-drive id=ssd1,
\
-device virtio-
-netdev user,id=
\
-device ich9-intel-
-device hda-output,
-audiodev coreaudio,
\
-daemonize
Give following error:
objc[3432]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.
objc[3432]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initialize
I checked "ps -ef|grep qemu" before and after the command, there was no qemu process running.
Have you tried to disable the GUI with "-display none" already?