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

Pino Toscano ptoscano at redhat.com
Thu Sep 15 14:11:35 UTC 2016


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.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160915/0383543b/attachment.sig>


More information about the Libguestfs mailing list