qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] qdev: print error message before aborting


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/2] qdev: print error message before aborting
Date: Fri, 17 Feb 2012 17:35:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

On 02/17/2012 05:30 PM, Peter Maydell wrote:
> 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.

Sorry. :)

> 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 :-))

Yes, of course.  This should have been done from the beginning.  I just
cut-and-pasted the error message but that doesn't mean it is a good one.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]