qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] machine: Make compat_props arrays shorter and more readable
@ 2019-01-07 19:30 Eduardo Habkost
  2019-01-07 19:30 ` [Qemu-devel] [PATCH 1/3] spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro Eduardo Habkost
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Eduardo Habkost @ 2019-01-07 19:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: David Hildenbrand, Paolo Bonzini, Christian Borntraeger,
	Cornelia Huck, Marc-André Lureau, Richard Henderson,
	David Gibson, qemu-s390x, Halil Pasic, Anthony Perard,
	Eduardo Habkost, Marcel Apfelbaum, Stefano Stabellini,
	Michael S. Tsirkin, qemu-ppc, xen-devel

Current declarations of compat_props arrays are very verbose,
with each entry taking 4 lines of code.  By omitting the field
designators, we can make each array entry fit a single line of
code and be more readable.

Eduardo Habkost (3):
  spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro
  machine: Eliminate unnecessary stringify() usage
  machine: Use shorter format for GlobalProperty arrays

 include/hw/i386/pc.h        |  18 +-
 include/hw/pci-host/spapr.h |   1 -
 hw/core/machine.c           | 338 ++++-------------
 hw/i386/pc.c                | 720 +++++++-----------------------------
 hw/i386/pc_piix.c           | 192 ++--------
 hw/ppc/spapr.c              |  72 +---
 hw/s390x/s390-virtio-ccw.c  |  75 +---
 hw/xen/xen-common.c         |  18 +-
 8 files changed, 265 insertions(+), 1169 deletions(-)

-- 
2.18.0.rc1.1.g3f1ff2140

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-01-10  0:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-07 19:30 [Qemu-devel] [PATCH 0/3] machine: Make compat_props arrays shorter and more readable Eduardo Habkost
2019-01-07 19:30 ` [Qemu-devel] [PATCH 1/3] spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro Eduardo Habkost
2019-01-07 19:35   ` Marc-André Lureau
2019-01-08  0:07   ` David Gibson
2019-01-08  9:59   ` Cornelia Huck
2019-01-07 19:30 ` [Qemu-devel] [PATCH 2/3] machine: Eliminate unnecessary stringify() usage Eduardo Habkost
2019-01-07 19:34   ` Marc-André Lureau
2019-01-08  0:08   ` David Gibson
2019-01-08 10:03   ` Cornelia Huck
2019-01-08 14:36   ` Philippe Mathieu-Daudé
2019-01-07 19:30 ` [Qemu-devel] [PATCH 3/3] machine: Use shorter format for GlobalProperty arrays Eduardo Habkost
2019-01-07 19:40   ` Marc-André Lureau
2019-01-08  6:45   ` Gerd Hoffmann
2019-01-08 10:20     ` Cornelia Huck
2019-01-10  0:43       ` Eduardo Habkost
2019-01-08 10:21   ` Cornelia Huck
2019-01-08 14:38   ` Philippe Mathieu-Daudé

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).