qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches


From: Anton Nefedov
Subject: [Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches
Date: Fri, 11 May 2018 12:05:32 +0300

hej,

inspired by this thread
http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg04802.html

Seems that nobody got around to this since (did anybody?),
so I thought I'd give a try.

There's a generator patch and usage example.

Anton Nefedov (2):
  qapi: allow flat unions with empty branches
  qapi: avoid empty CpuInfoOther type

 qapi/misc.json                 | 48 ++++--------------------------------------
 cpus.c                         |  2 --
 scripts/qapi/common.py         | 18 ++++++++++------
 scripts/qapi/doc.py            |  2 +-
 scripts/qapi/types.py          |  2 +-
 scripts/qapi/visit.py          | 12 ++++++-----
 tests/qapi-schema/test-qapi.py |  2 +-
 7 files changed, 26 insertions(+), 60 deletions(-)

-- 
2.7.4




reply via email to

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