From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7OJy-00007O-Gx for qemu-devel@nongnu.org; Tue, 23 Jun 2015 09:33:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7OJv-0008Iz-8N for qemu-devel@nongnu.org; Tue, 23 Jun 2015 09:33:02 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:33573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7OJv-0008Ip-2a for qemu-devel@nongnu.org; Tue, 23 Jun 2015 09:32:59 -0400 Received: by wgck11 with SMTP id k11so9867244wgc.0 for ; Tue, 23 Jun 2015 06:32:57 -0700 (PDT) From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=" Date: Tue, 23 Jun 2015 15:32:56 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/5] qapi flattening + some miscellaneous patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster , Stefan Hajnoczi , Eduardo Habkost I've cherry-picked the qapi related parts from my previous -audiodev patch series, we can hopefully concentrate on one thing at a time. The most important changes in this patch series are the flattening of the Netdev structures. This way we can add proper nested structure support into OptsVisitor, without requiring backward-compatibility hacks. These patches are essentially same as the patches in v3 -audiodev option, except that I updated it to master (and fixed the conflicts due to error handling related changes). Please review. Kővágó, Zoltán (5): qapi: support implicit structs in OptsVisitor qapi: convert NumaOptions into a flat union qapi: change Netdev and NetLegacy into a flat union qapi: support nested structs in OptsVisitor opts: produce valid command line in qemu_opts_print block.c | 2 +- hw/arm/musicpal.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/net/allwinner_emac.c | 2 +- hw/net/cadence_gem.c | 2 +- hw/net/dp8393x.c | 2 +- hw/net/e1000.c | 2 +- hw/net/eepro100.c | 2 +- hw/net/etraxfs_eth.c | 2 +- hw/net/fsl_etsec/etsec.c | 2 +- hw/net/lan9118.c | 2 +- hw/net/lance.c | 2 +- hw/net/mcf_fec.c | 2 +- hw/net/milkymist-minimac2.c | 2 +- hw/net/mipsnet.c | 2 +- hw/net/ne2000-isa.c | 2 +- hw/net/ne2000.c | 2 +- hw/net/opencores_eth.c | 2 +- hw/net/pcnet-pci.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rtl8139.c | 2 +- hw/net/smc91c111.c | 2 +- hw/net/spapr_llan.c | 2 +- hw/net/stellaris_enet.c | 2 +- hw/net/vhost_net.c | 18 ++-- hw/net/virtio-net.c | 6 +- hw/net/vmxnet3.c | 2 +- hw/net/xen_nic.c | 2 +- hw/net/xgmac.c | 2 +- hw/net/xilinx_axienet.c | 2 +- hw/net/xilinx_ethlite.c | 2 +- hw/usb/dev-network.c | 2 +- include/net/net.h | 4 +- monitor.c | 14 +-- net/clients.h | 20 ++--- net/dump.c | 9 +- net/hub.c | 24 +++-- net/l2tpv3.c | 9 +- net/net.c | 110 +++++++++++------------ net/netmap.c | 6 +- net/slirp.c | 9 +- net/socket.c | 11 +-- net/tap-win32.c | 9 +- net/tap.c | 29 +++--- net/vde.c | 9 +- net/vhost-user.c | 15 ++-- numa.c | 2 +- qapi-schema.json | 150 +++++++++++++++++++++++--------- qapi/opts-visitor.c | 129 ++++++++++++++++++++++----- tests/qapi-schema/qapi-schema-test.json | 9 +- tests/test-opts-visitor.c | 34 ++++++++ util/qemu-option.c | 47 +++++++++- 52 files changed, 471 insertions(+), 262 deletions(-) -- 2.4.3