On 06/16/2012 03:41 AM, Andreas Färber wrote: > Hi, > > After multiple runs of not-so-successful bisecting, it appears as if the > qom-next commit "qbus: Make child devices links" [1] is causing > assertions for both virtio-scsi and ahci but not for qemu-system-x86_64 > without parameters: > > $ x86_64-softmmu/qemu-system-x86_64 -enable-kvm -device > virtio-scsi-pci,id=mcbus > qemu-system-x86_64: /home/andreas/QEMU/qemu-rcar/memory.c:1259: > memory_region_add_subregion_common: Assertion `!subregion->parent' failed. > > $ x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1G -boot menu=on > -drive file=../openSUSE-12.1-DVD-x86_64.iso,if=none,id=idecd,readonly=on > -device ide-cd,bus=ide.0,drive=idecd -device ahci,id=ahci -device > ide-cd,bus=ahci.0,drive=ahcicd -drive > file=../openSUSE-12.1-GNOME-LiveCD-x86_64.iso,if=none,id=ahcicd,readonly=on > qemu-system-x86_64: /home/andreas/QEMU/qemu-rcar/memory.c:1259: > memory_region_add_subregion_common: Assertion `!subregion->parent' failed. >
A stack trace would be helpful, as well as a printout of what subregion->parent actually is. You can also run 'qemu mtree' from gdb after including scripts/qemu-gdb.py. -- error compiling committee.c: too many arguments to function