Il 11/06/2012 09:56, Andreas Färber ha scritto: >> > I thought that was just a convenience choice, not a necessity. The >> > children objects could just as well be heap-allocated. > In that case we'd need to change the instance_init signature. As far as > I've understood from our discussions with Anthony, realize must not > allocate new objects because that may collide with the recursive realize > model, and instance_init is not supposed to fail.
But qemu_malloc is also not supposed to fail. It will exit QEMU if it fails. Paolo