From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghORY-0005jD-QN for qemu-devel@nongnu.org; Wed, 09 Jan 2019 19:43:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghORX-0002nk-4b for qemu-devel@nongnu.org; Wed, 09 Jan 2019 19:43:32 -0500 Date: Wed, 9 Jan 2019 22:43:07 -0200 From: Eduardo Habkost Message-ID: <20190110004307.GE4500@habkost.net> References: <20190107193020.21744-1-ehabkost@redhat.com> <20190107193020.21744-4-ehabkost@redhat.com> <20190108064543.asg63onrb3hpripf@sirius.home.kraxel.org> <20190108112012.78f3dbb9.cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190108112012.78f3dbb9.cohuck@redhat.com> Subject: Re: [Qemu-devel] [PATCH 3/3] machine: Use shorter format for GlobalProperty arrays List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Gerd Hoffmann , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Stefano Stabellini , David Hildenbrand , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, "Michael S. Tsirkin" , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , Anthony Perard , Paolo Bonzini , David Gibson , xen-devel@lists.xenproject.org, Richard Henderson On Tue, Jan 08, 2019 at 11:20:12AM +0100, Cornelia Huck wrote: > On Tue, 8 Jan 2019 07:45:43 +0100 > Gerd Hoffmann wrote: > > > Hi, > > > > > + { "migration", "decompress-error-check", "off" }, > > > + { "hda-audio", "use-timer", "false" }, > > > + { "cirrus-vga", "global-vmstate", "true" }, > > > + { "VGA", "global-vmstate", "true" }, > > > + { "vmware-svga", "global-vmstate", "true" }, > > > + { "qxl-vga", "global-vmstate", "true" }, > > > > I'd like to have the fields aligned. Especially in cases like this one > > where multiple devices get the same value assigned it makes things more > > readable: > > > > { "migration", "decompress-error-check", "off" }, > > { "hda-audio", "use-timer", "false" }, > > { "cirrus-vga", "global-vmstate", "true" }, > > { "VGA", "global-vmstate", "true" }, > > { "vmware-svga", "global-vmstate", "true" }, > > { "qxl-vga", "global-vmstate", "true" }, > > > > thanks, > > Gerd > > > > I'm a bit on the fence here. It does make things more readable (at > least in your example), but I find editing aligned tables a bit > annoying. OTOH, that won't happen often, anyway. I'm unsure, too. Also, not merging this series is increasing the likelihood of conflicts with other patches. I'm queueing this version, and we can discuss alignment alternatives later. (I'm less worried about conflicts caused by future alignment patches because alignment conflicts are easier to sort out than redoing the .driver/.property/.value conversion). -- Eduardo