From: Eric Blake <eblake@redhat.com>
To: Alberto Garcia <berto@igalia.com>
Cc: kwolf@redhat.com, armbru@redhat.com, akong@redhat.com,
qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] qapi: Accept 'null' in QMP
Date: Tue, 07 Apr 2015 09:11:53 -0600 [thread overview]
Message-ID: <5523F3B9.6050107@redhat.com> (raw)
In-Reply-To: <20150407124651.GA30085@igalia.com>
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
On 04/07/2015 06:46 AM, Alberto Garcia wrote:
> On Thu, Apr 02, 2015 at 01:31:46PM -0600, Eric Blake wrote:
>
>> So instead, this patch creates a new QObject subtype: QNull.
>
> The code looks good, but Markus's approach of using a single instance
> seems probably a bit better for this case.
It's what we get for both independently tackling the same problem. I
still plan to review Markus' series, and might post an updated version
that takes the best of our two approaches.
>
>> --- /dev/null
>> +++ b/include/qapi/qmp/qnull.h
>> @@ -0,0 +1,23 @@
>> +/*
>> + * QBool Module
>
> You probably meant QNull here.
My blatant use of copy-and-paste shines through :) I'll certainly fix
that, if my approach is still worth using.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-04-07 15:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-02 19:31 [Qemu-devel] [PATCH] qapi: Accept 'null' in QMP Eric Blake
2015-04-07 12:46 ` Alberto Garcia
2015-04-07 15:11 ` Eric Blake [this message]
2015-04-30 3:27 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5523F3B9.6050107@redhat.com \
--to=eblake@redhat.com \
--cc=akong@redhat.com \
--cc=armbru@redhat.com \
--cc=berto@igalia.com \
--cc=kwolf@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.