[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] machine: Use shorter format for
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] machine: Use shorter format for GlobalProperty arrays |
Date: |
Tue, 8 Jan 2019 11:20:12 +0100 |
On Tue, 8 Jan 2019 07:45:43 +0100
Gerd Hoffmann <address@hidden> 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.
- Re: [Qemu-ppc] [PATCH 1/3] spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro, (continued)