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

Richard W.M. Jones rjones at redhat.com
Thu Sep 15 15:08:27 UTC 2016


On Thu, Sep 15, 2016 at 04:20:32PM +0200, Pino Toscano wrote:
> On Wednesday, 14 September 2016 15:50:20 CEST Richard W.M. Jones wrote:
> > ---
> 
> Ah, I forgot one thing:
> 
> > +  else if (strstr (elf_arch, "UCB RISC-V")) {
> > +    ret = safe_asprintf (g, "riscv%s", bits);
> > +    goto no_strdup;
> > +  }
> 
> I guess the "riscv16", "riscv32", and "riscv64" should be documented
> for the "file_architecture" API.

I pushed a few fixes upstream.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list