Running in Qemu fails: assertion failed: (obj->parent != NULL)
I'm trying to run v0.5 harddrive image in Ubuntu but this is what I get:
$ sudo qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 1024 -s -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host -drive file=harddrive.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Home directory not accessible: Permission denied
**
ERROR:/build/qemu-z6QTYR/qemu-2.11+dfsg/qom/object.c:1631:object_get_canonical_path_component: assertion failed: (obj->parent != NULL)
“sudo qemu-system-x86_64 -serial…” terminated by signal SIGABRT (Abort)
Even if I fix the pulseaudio issue either by following this or setting env QEMU_AUDIO_DRV=none
, I still get the same SIGABRT issue (without the pulseaudio part).
Omitting -d guest_errors
from arguments fixes this.
Want me to create a patch in book for this?