[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/6] qapi: add SysEmuTarget to "common.json"
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 3/6] qapi: add SysEmuTarget to "common.json" |
Date: |
Tue, 24 Apr 2018 18:11:05 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/24/2018 04:45 PM, Laszlo Ersek wrote:
> We'll soon need an enumeration type that lists all the softmmu targets
> that QEMU (the project) supports. Introduce @SysEmuTarget to
> "common.json".
>
> Cc: "Daniel P. Berrange" <address@hidden>
> Cc: David Gibson <address@hidden>
> Cc: Eric Blake <address@hidden>
> Cc: Gerd Hoffmann <address@hidden>
> Cc: Kashyap Chamarthy <address@hidden>
> Cc: Markus Armbruster <address@hidden>
> Cc: Paolo Bonzini <address@hidden>
> Cc: Thomas Huth <address@hidden>
> Signed-off-by: Laszlo Ersek <address@hidden>
> Reviewed-by: Markus Armbruster <address@hidden>
> Reviewed-by: Kashyap Chamarthy <address@hidden>
> ---
>
> +##
> +{ 'enum' : 'SysEmuTarget',
> + 'data' : [ 'aarch64', 'alpha', 'arm', 'cris', 'hppa', 'i386', 'lm32',
> + 'm68k', 'microblaze', 'microblazeel', 'mips', 'mips64',
> + 'mips64el', 'mipsel', 'moxie', 'nios2', 'or1k', 'ppc',
> + 'ppc64', 'ppcemb', 'riscv32', 'riscv64', 's390x', 'sh4',
> + 'sh4eb', 'sparc', 'sparc64', 'tricore', 'unicore32',
> + 'x86_64', 'xtensa', 'xtensaeb' ] }
x86_64 doesn't match our typical conventions of preferring '-' over '_';
also, wikipedia mentions both spellings but under the page name
'x86-64'. Is it worth switching that enum constant?
https://en.wikipedia.org/wiki/X86-64
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH 1/6] qapi: fill in CpuInfoFast.arch in query-cpus-fast, Laszlo Ersek, 2018/04/24