qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line
@ 2013-05-20 16:21 Peter Maydell
  2013-05-20 16:35 ` Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Peter Maydell @ 2013-05-20 16:21 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Anthony Liguori, John Rigby, Andreas Färber,
	patches

Reformat the qapi-schema TargetType enumeration so that it has just
one target architecture name per line. This allows patches for
adding new targets to just add a single line, rather than having
to reformat most of the list (resulting in a hard-to-check diff).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
d15a9c23 is an example of what you get otherwise.

I would much prefer it if we autogenerated this list so you didn't
need to change this file at all to add a new target, but Anthony
is against that; so this is at least an improvement.

 qapi-schema.json |   30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index 199744a..a8d361e 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3018,10 +3018,32 @@
 # Since: 1.2.0
 ##
 { 'enum': 'TargetType',
-  'data': [ 'alpha', 'arm', 'cris', 'i386', 'lm32', 'm68k', 'microblazeel',
-            'microblaze', 'mips64el', 'mips64', 'mipsel', 'mips', 'moxie',
-            'or32', 'ppc64', 'ppcemb', 'ppc', 's390x', 'sh4eb', 'sh4',
-            'sparc64', 'sparc', 'unicore32', 'x86_64', 'xtensaeb', 'xtensa' ] }
+  'data': [ 'alpha',
+            'arm',
+            'cris',
+            'i386',
+            'lm32',
+            'm68k',
+            'microblazeel',
+            'microblaze',
+            'mips64el',
+            'mips64',
+            'mipsel',
+            'mips',
+            'moxie',
+            'or32',
+            'ppc64',
+            'ppcemb',
+            'ppc',
+            's390x',
+            'sh4eb',
+            'sh4',
+            'sparc64',
+            'sparc',
+            'unicore32',
+            'x86_64',
+            'xtensaeb',
+            'xtensa' ] }
 
 ##
 # @TargetInfo:
-- 
1.7.9.5

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

end of thread, other threads:[~2013-05-25 12:31 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20 16:21 [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line Peter Maydell
2013-05-20 16:35 ` Paolo Bonzini
2013-05-20 16:38   ` Peter Maydell
2013-05-20 17:14     ` Paolo Bonzini
2013-05-22 13:15   ` Anthony Liguori
2013-05-22 13:50     ` Andreas Färber
2013-05-22 14:28       ` Anthony Liguori
2013-05-22 14:34         ` [Qemu-devel] New targets (was: [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line) Andreas Färber
2013-05-22 14:48           ` Anthony Liguori
2013-05-22 15:33             ` Peter Maydell
2013-05-22 16:10               ` Anthony Liguori
2013-05-22 13:51     ` [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line Peter Maydell
2013-05-22 14:29       ` Anthony Liguori
2013-05-22 14:38         ` Paolo Bonzini
2013-05-24 21:38         ` [Qemu-devel] [libvirt] " Eric Blake
2013-05-25  9:18           ` Peter Maydell
2013-05-25 12:31             ` Andreas Färber
2013-05-20 16:41 ` [Qemu-devel] " Eric Blake
2013-05-20 16:47   ` Peter Maydell
2013-05-20 16:57     ` Eric Blake
2013-05-20 17:05       ` Paolo Bonzini
2013-05-22 13:12 ` Anthony Liguori
2013-05-22 13:38   ` Peter Maydell

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