On 14 February 2012 09:19, Paolo Bonzini <pbonz...@redhat.com> wrote: > qdev_prop_set_* functions are always called by machine init functions > that should know what they're doing, so they abort on error. Still, > an assert(!errp) does not aid debugging. Print an error before aborting.
So now you get: qemu-system-arm: Insufficient permission to perform this operation Aborted This still isn't really very diagnostic: I had to run the whole thing under a debugger and look at the backtrace anyway before I realised I'd hit the same problem again. Isn't there some way to supply a more specific message than this? (some string that actuall mentions at least one of "object", "property" and "after initialization", for example :-)) -- PMM