qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, Eduardo Habkost <ehabkost@redhat.com>
Subject: [Qemu-devel] [PATCH 0/3] qapi: Easier unboxed visits of subset of union type
Date: Tue, 23 Feb 2016 14:14:32 -0700	[thread overview]
Message-ID: <1456262075-3311-1-git-send-email-eblake@redhat.com> (raw)

Dan Berrange rightly pointed out that now that commit 544a373
unboxes the variants of unions, we will need a way for his pending
LUKS patches to access the fields of those variants without also
allocating wasted memory.

Patch 1 is a cleanup I noticed along the way, although in writing
this email, I now see it is only tangentially related.
Patch 2 provides the fix Dan needs, and patch 3 documents it,
along with other recent changes.

Note that this series has a conflict with my other pending series
(https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg04703.html);
but as it is shorter and is blocking Dan's patches, it may be easier
to review these first.  Depending on which series lands first, I don't
mind posting a rebased version of the other series.

Also available as a tag at this location:
git fetch git://repo.or.cz/qemu/ericb.git qapi-exportv1

and will soon be part of my branch at:
http://repo.or.cz/qemu/ericb.git/shortlog/refs/heads/qapi

Eric Blake (3):
  qapi-dealloc: Reduce use outside of generated code
  qapi-visit: Expose visit_type_FOO_fields()
  qapi: Update docs to match recent generator changes

 scripts/qapi-visit.py     |  47 ++-----
 hw/acpi/core.c            |  11 +-
 net/net.c                 |  31 ++---
 numa.c                    |   9 +-
 tests/test-opts-visitor.c |  10 +-
 docs/qapi-code-gen.txt    | 308 ++++++++++++++++++++++++----------------------
 6 files changed, 188 insertions(+), 228 deletions(-)

-- 
2.5.0

             reply	other threads:[~2016-02-23 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 21:14 Eric Blake [this message]
2016-02-23 21:14 ` [Qemu-devel] [PATCH 1/3] qapi-dealloc: Reduce use outside of generated code Eric Blake
2016-02-24 13:17   ` Markus Armbruster
2016-02-23 21:14 ` [Qemu-devel] [PATCH 2/3] qapi-visit: Expose visit_type_FOO_fields() Eric Blake
2016-02-24 12:28   ` Markus Armbruster
2016-02-25 16:56     ` Eric Blake
2016-02-23 21:14 ` [Qemu-devel] [PATCH 3/3] qapi: Update docs to match recent generator changes Eric Blake
2016-02-24 12:53   ` Markus Armbruster

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=1456262075-3311-1-git-send-email-eblake@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=ehabkost@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).