Kashyap Chamarthy
2015-Jan-13 18:31 UTC
[Libguestfs] [PATCH] virt-buider: doc: Use osinfo-query to get OS variants
Upstream dropped[1] support for '--os-variant list' in favor of using `osinfo-query` tool provided by the libosinfo project. To get a list of all accepted operating systems, invoke: osinfo-query os [1] https://git.fedorahosted.org/cgit/virt-manager.git/commit/?id=bcb60f0 --- builder/virt-builder.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod index 0177cc3a4edad8c1ce3d395759a15e043945b121..004eafb4691dee9b4cfb184c8bef834aff84dee5 100644 --- a/builder/virt-builder.pod +++ b/builder/virt-builder.pod @@ -876,7 +876,9 @@ I<--os-variant> is highly recommended, because it will present optimum devices to enable the guest to run most efficiently. To get a list of all variants, do: - virt-install --os-variant list + osinfo-query os + +The above tool is provided by libosinfo package. =item 3. -- 1.9.3
Pino Toscano
2015-Jan-13 19:07 UTC
Re: [Libguestfs] [PATCH] virt-buider: doc: Use osinfo-query to get OS variants
On Tuesday 13 January 2015 19:31:09 Kashyap Chamarthy wrote:> Upstream dropped[1] support for '--os-variant list' in favor of using > `osinfo-query` tool provided by the libosinfo project. > > To get a list of all accepted operating systems, invoke: > > osinfo-query os > > [1] https://git.fedorahosted.org/cgit/virt-manager.git/commit/?id=bcb60f0 > --- > builder/virt-builder.pod | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod > index 0177cc3a4edad8c1ce3d395759a15e043945b121..004eafb4691dee9b4cfb184c8bef834aff84dee5 100644 > --- a/builder/virt-builder.pod > +++ b/builder/virt-builder.pod > @@ -876,7 +876,9 @@ I<--os-variant> is highly recommended, because it will present optimum > devices to enable the guest to run most efficiently. To get a list > of all variants, do: > > - virt-install --os-variant list > + osinfo-query os > + > +The above tool is provided by libosinfo package. > > =item 3. >LGTM. -- Pino Toscano
Richard W.M. Jones
2015-Jan-14 00:30 UTC
Re: [Libguestfs] [PATCH] virt-buider: doc: Use osinfo-query to get OS variants
On Tue, Jan 13, 2015 at 07:31:09PM +0100, Kashyap Chamarthy wrote:> Upstream dropped[1] support for '--os-variant list' in favor of using > `osinfo-query` tool provided by the libosinfo project.Bleah .. command line arguments are API.> To get a list of all accepted operating systems, invoke: > > osinfo-query os > > [1] https://git.fedorahosted.org/cgit/virt-manager.git/commit/?id=bcb60f0 > --- > builder/virt-builder.pod | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod > index 0177cc3a4edad8c1ce3d395759a15e043945b121..004eafb4691dee9b4cfb184c8bef834aff84dee5 100644 > --- a/builder/virt-builder.pod > +++ b/builder/virt-builder.pod > @@ -876,7 +876,9 @@ I<--os-variant> is highly recommended, because it will present optimum > devices to enable the guest to run most efficiently. To get a list > of all variants, do: > > - virt-install --os-variant list > + osinfo-query os > + > +The above tool is provided by libosinfo package. > > =item 3.ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Apparently Analagous Threads
- Re: [PATCH v8 1/7] ocaml osinfo database iterator
- Re: [PATCH v4 1/9] lib/osinfo.c: Extract xml processing into a callback
- [PATCH] v2v: -o libvirt: write win2k19 osinfo ID
- [PATCH] osinfo: revamp db reading (RHBZ#1359652)
- virt-v2v: error: redefinition of 'glib_autoptr_clear_OsinfoList'