[Libguestfs] [PATCH] osinfo: revamp db reading (RHBZ#1359652)

Richard W.M. Jones rjones at redhat.com
Tue Jul 26 10:16:07 UTC 2016


On Mon, Jul 25, 2016 at 05:47:05PM +0200, Pino Toscano wrote:
> +  if (path == NULL)
> +    path = "/usr/share/osinfo";

I wonder if we should use $prefix here.  I guess there are
arguments both ways.

Should we just run the external osinfo-query program?

Anyway it's fine as it stands, so ACK.

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