qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/8] qapi: fix NULL pointer dereference


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/8] qapi: fix NULL pointer dereference
Date: Fri, 16 Dec 2011 16:42:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 12/16/2011 04:23 PM, Anthony Liguori wrote:
Ok.  I think nullable strings are not a good idea simply because it
means that a property can have a state that cannot be set.

How is this different from NULL links?  (Honest, not trick question :)).

Long term, I want to be able to do something like dump the current
device graph to a config file, and then use that config file to recreate
the same machine again.  A nullable property without a null
representation would not allow this.

JSON null is such a representation.

Paolo



reply via email to

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