qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] qom: Reject attempts to add a property that


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] qom: Reject attempts to add a property that already exists
Date: Mon, 8 Oct 2012 14:57:09 +0100

On 8 October 2012 14:38, Peter Crosthwaite
<address@hidden> wrote:
> Can we just populate errp with a nice meaningful error (perhaps the
> contents of that printf), then the caller can decide if failure is
> tolerable?

I would find this approach more plausible if it wasn't that so many
places in qemu just happily pass NULL as an errp.

-- PMM



reply via email to

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