diff mbox

[v3,21/21] RISC-V Build Infrastructure

Message ID CAHNT7NuoL8b6EQdcku8Ex41_AHD8BVoA8504EBGFwNZqXyf1tw@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Clark Jan. 11, 2018, 6:43 p.m. UTC
On Fri, Jan 12, 2018 at 3:05 AM, Eric Blake <eblake@redhat.com> wrote:

> On 01/10/2018 08:22 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.
> >
> > +++ b/qapi-schema.json
> > @@ -413,7 +413,7 @@
> >  # Since: 2.6
> >  ##
> >  { 'enum': 'CpuInfoArch',
> > -  'data': ['x86', 'sparc', 'ppc', 'mips', 'tricore', 'other' ] }
> > +  'data': ['x86', 'sparc', 'ppc', 'mips', 'tricore', 'riscv', 'other' ]
> }
>
> Still missing documentation that riscv was added in 2.12 (see my
> comments on v1).


My apologies. I had a look at QKeyCode and it was not clear to me how to
specify since on an enum value vs a field.

 ##
 { 'enum': 'CpuInfoArch',
   'data': ['x86', 'sparc', 'ppc', 'mips', 'tricore', 'riscv', 'other' ] }

 Is this correct?

> --- /dev/null
> > +++ b/target/riscv/trace-events
> > @@ -0,0 +1 @@
> > +# See docs/devel/tracing.txt for syntax documentation.
> >
>
> Do we really need this file if you don't have any traces yet?
>

I'll remove the file or add some tracing in the next spin.
diff mbox

Patch

--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -411,6 +411,9 @@ 
 # @query-cpus.

why is this @query-cpus and not @CpuInfoArch: as is the case for @QKeyCode?

 #
 # Since: 2.6
+#
+# @riscv: since 2.12
+#