On 02/26/2018 04:18 PM, Michael Clark wrote:
This adds RISC-V into the build system enabling the following targets:

- riscv32-softmmu
- riscv64-softmmu
- riscv32-linux-user
- riscv64-linux-user

This adds defaults configs for RISC-V, enables the build for the RISC-V
CPU core, hardware, and Linux User Emulation. The 'qemu-binfmt-conf.sh'
script is updated to add the RISC-V ELF magic.

Expected checkpatch errors for consistency reasons:

ERROR: line over 90 characters
FILE: scripts/qemu-binfmt-conf.sh

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Michael Clark <m...@sifive.com>
---

+++ b/qapi-schema.json

  ##
  # @CpuInfo:
@@ -452,6 +454,7 @@
              'ppc': 'CpuInfoPPC',
              'mips': 'CpuInfoMIPS',
              'tricore': 'CpuInfoTricore',
+            'riscv': 'CpuInfoRISCV',
              'other': 'CpuInfoOther' } }

Hmm - we're trying to deprecate CpuInfo in parallel, in favor of the new query-cpus-fast. CpuInfoRISCV will be useless once that happens, but it doesn't invalidate your pull request.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to