[Libguestfs] [PATCH 1/2] filearch: Add RISC-V architecture.

Richard W.M. Jones rjones at redhat.com
Thu Sep 15 14:16:35 UTC 2016


On Thu, Sep 15, 2016 at 04:11:35PM +0200, Pino Toscano wrote:
> On Wednesday, 14 September 2016 15:50:20 CEST Richard W.M. Jones wrote:
> > ---
> 
> LGTM, just one question below.
> 
> > +  else if (strstr (elf_arch, "UCB RISC-V")) {
> > +    ret = safe_asprintf (g, "riscv%s", bits);
> > +    goto no_strdup;
> > +  }
> 
> Is this bit of output from `file` reliable at this point, or can it
> change in the future?  I recall the RISC-V is a "new" architecture,
> so potential changes are not rare at this stage.

It is the output of file, and I don't know if it could change in
future.  I suppose it's possible, but I don't have specific
information.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list