[Libosinfo] [osinfo-db PATCH v2 7/9] ubuntu18.04: Add tree's URL info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 33bd5cf..7aeaedf 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b

[Libosinfo] [osinfo-db PATCH v2 2/9] debian8: Add tree's URL info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-8.xml.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/os/debian.org/debian-8.xml.in b/data/os/debian.org/debian-8.xml.in index 7b1a690..1a35b8c 100644 --- a/data/os/debian.org/debian-8.xml.in +++ b/data/os

[Libosinfo] [osinfo-db PATCH v2 3/9] debian9: Add tree's URL info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-9.xml.in | 13 + 1 file changed, 13 insertions(+) diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in index 784a1f2..9b32292 100644 --- a/data/os/debian.org/debian-9.xml.in +++ b/data/os

[Libosinfo] [osinfo-db PATCH v2 0/9] Add tree's URL info for debian/opensuse/ubuntu

2018-11-30 Thread Fabiano Fidêncio
.html - Removed all the wrongly added "treeinfo" from v1 and only left the URLs Fabiano Fidêncio (9): debian7: Add tree's URL info debian8: Add tree's URL info debian9: Add tree's URL info debian-testing: Add tree's URL info opensuse15.0: Add tree's URL info opensuse-tumbl

Re: [Libosinfo] [osinfo-db PATCH 0/9] Add tree info for debian, opensuse and ubuntu

2018-11-30 Thread Fabiano Fidêncio
On Fri, Nov 30, 2018 at 10:58 AM Fabiano Fidêncio wrote: > > The tree info added is based on what's supported/recommended by > virt-install. > > A big thanks to Andrea Bolognani for pointing it out. SNACK (as in Self-NACK) this whole series. Debian/Ubuntu/OpenSUSE do not support

Re: [Libosinfo] [osinfo-db PATCH 1/1] schema: Add installer-script attribute to medias

2018-11-30 Thread Fabiano Fidêncio
Oops, this one was re-posted by mistake, sorry! ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

[Libosinfo] [osinfo-db PATCH 0/9] Add tree info for debian, opensuse and ubuntu

2018-11-30 Thread Fabiano Fidêncio
The tree info added is based on what's supported/recommended by virt-install. A big thanks to Andrea Bolognani for pointing it out. Fabiano Fidêncio (9): debian7: Add tree info debian8: Add tree info debian9: Add tree info debian-testing: Add tree info opensuse15.0: Add tree info

[Libosinfo] [osinfo-db PATCH 3/9] debian9: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-9.xml.in | 33 ++ 1 file changed, 33 insertions(+) diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in index 784a1f2..fa0553f 100644 --- a/data/os/debian.org/debian-9

[Libosinfo] [osinfo-db PATCH 5/9] opensuse15.0: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/opensuse.org/opensuse-15.0.xml.in | 9 + 1 file changed, 9 insertions(+) diff --git a/data/os/opensuse.org/opensuse-15.0.xml.in b/data/os/opensuse.org/opensuse-15.0.xml.in index d82e4c4..e966309 100644 --- a/data/os/opensuse.org/opensuse-15.0

[Libosinfo] [osinfo-db PATCH 1/1] schema: Add installer-script attribute to medias

2018-11-30 Thread Fabiano Fidêncio
look like: ... .. In the scenario above the first media shouldn't be used for installation using scripts while the second should. Signed-off-by: Fabiano Fidêncio --- data/schema/osinfo.rng.in | 5 + 1 file changed, 5 insertions(+) diff --git a/data/schema/osinfo.rng

[Libosinfo] [osinfo-db PATCH 8/9] ubuntu18.10: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 17 + 1 file changed, 17 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 64aef8e..d99cd10 100644 --- a/data/os/ubuntu.com/ubuntu-18.10

[Libosinfo] [osinfo-db PATCH 1/9] debian7: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-7.xml.in | 17 + 1 file changed, 17 insertions(+) diff --git a/data/os/debian.org/debian-7.xml.in b/data/os/debian.org/debian-7.xml.in index e3ef43b..c1a2192 100644 --- a/data/os/debian.org/debian-7.xml.in +++ b/data

[Libosinfo] [osinfo-db PATCH 4/9] debian-testing: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-testing.xml.in | 17 + 1 file changed, 17 insertions(+) diff --git a/data/os/debian.org/debian-testing.xml.in b/data/os/debian.org/debian-testing.xml.in index 7ed9073..c729818 100644 --- a/data/os/debian.org/debian

[Libosinfo] [osinfo-db PATCH 7/9] ubuntu18.04: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 17 + 1 file changed, 17 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 33bd5cf..a61f976 100644 --- a/data/os/ubuntu.com/ubuntu-18.04

[Libosinfo] [osinfo-db PATCH 2/9] debian8: Add tree info

2018-11-30 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-8.xml.in | 17 + 1 file changed, 17 insertions(+) diff --git a/data/os/debian.org/debian-8.xml.in b/data/os/debian.org/debian-8.xml.in index 7b1a690..1f730a9 100644 --- a/data/os/debian.org/debian-8.xml.in +++ b/data

[Libosinfo] install-scripts: Setting the injection-method to use | Setting the need of the internet to install

2018-11-26 Thread Fabiano Fidêncio
People, While working on adding unattended-installation support for virt-install, I've noticed that our Fedora/RHEL/openSUSE scripts do not support initrd as injection method and initrd is what I could use pretty much for free on virt-install. In order to add support for initrd as the

[Libosinfo] [osinfo-db PATCH 1/1] schema: Add installer-script attribute to medias

2018-11-23 Thread Fabiano Fidêncio
look like: ... .. In the scenario above the first media shouldn't be used for installation using scripts while the second should. Signed-off-by: Fabiano Fidêncio --- data/schema/osinfo.rng.in | 5 + 1 file changed, 5 insertions(+) diff --git a/data/schema/osinfo.rng

[Libosinfo] [libosinfo PATCH 5/5] test-media: Add tests for OsinfoMedia attributes

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../test-os-media-no-installer.xml| 13 .../dbdata/os/libosinfo.org/test-os-media.xml | 17 + tests/test-media.c| 76 +++ 3 files changed, 106 insertions(+) create mode 100644 tests/dbdata/os

[Libosinfo] [libosinfo PATCH 2/5] loader: Deal with "installer-script" media attribute

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_loader.c | 9 + 1 file changed, 9 insertions(+) diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c index 030062b..4367121 100644 --- a/osinfo/osinfo_loader.c +++ b/osinfo/osinfo_loader.c @@ -1078,6 +1078,8 @@ static OsinfoMedia

[Libosinfo] [osinfo-db/libosinfo PATCH 0/5] Add "installer-script" attribute for OsinfoMedia

2018-11-23 Thread Fabiano Fidêncio
look like: ... .. In the scenario above the first media shouldn't be used for installation using scripts while the second should. - osinfo-db: Fabiano Fidêncio (1): schema: Add installer-script attribute to medias data/schema/osinfo.rng.in | 5 + 1 file

[Libosinfo] [libosinfo PATCH 1/3] os: Fix typo in _find_install_script()

2018-11-23 Thread Fabiano Fidêncio
osinfo_find_install_script() doesn't work as expected due to a typo when getting the elements of the script list as an OsinfoList must be passed instead of an OsinfoOs. Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Libosinfo] [osinfo-db/libosinfo PATCH v4 00/10] Add support to images

2018-11-23 Thread Fabiano Fidêncio
those bits for libguestfs :-) Consequently, libguestfs dependancy has been dropped. - osinfo-db: Fabiano Fidêncio (2): schema: Add support for pre-installed images schema: Add cloud-init attribute to images data/schema/osinfo.rng.in | 41 +++ 1 file c

[Libosinfo] [libosinfo PATCH v4 05/10] Introduce OsinfoImageList object

2018-11-23 Thread Fabiano Fidêncio
OsinfoImageList object represents has been created to easily deal with OsinfoImage objects. https://gitlab.com/libosinfo/osinfo-db/issues/10 Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am| 2 + osinfo/libosinfo.syms | 3 ++ osinfo/osinfo.h | 1 + osinfo

[Libosinfo] [libosinfo PATCH v4 06/10] tests: Add test-imagelist

2018-11-23 Thread Fabiano Fidêncio
test-imagelist is totally based on test-devicelist. https://gitlab.com/libosinfo/osinfo-db/issues/10 Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + tests/Makefile.am | 5 + tests/test-imagelist.c | 230 + 3 files changed, 236

[Libosinfo] [libosinfo PATCH v4 03/10] Introduce OsinfoImage object

2018-11-23 Thread Fabiano Fidêncio
for that as they already do a quite good job on this field. https://gitlab.com/libosinfo/osinfo-db/issues/10 Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am| 2 + osinfo/libosinfo.syms | 6 + osinfo/osinfo.h | 1 + osinfo/osinfo_image.c | 251

[Libosinfo] [osinfo-db PATCH v4 01/10] schema: Add support for pre-installed images

2018-11-23 Thread Fabiano Fidêncio
https://download/foo/bar.img Mind that the "variant" is an optional element. https://gitlab.com/libosinfo/osinfo-db/issues/10 Signed-off-by: Fabiano Fidêncio --- data/schema/osinfo.rng.in | 36 1 file changed, 36 insertions(+)

[Libosinfo] [libosinfo PATCH v4 09/10] tests: Add test-imageuris

2018-11-23 Thread Fabiano Fidêncio
In a quite similar way than test-mediauris and test-treeuris, let's have a test for the imageuris. https://gitlab.com/libosinfo/osinfo-db/issues/10 Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + tests/Makefile.am | 5 ++ tests/test-imageuris.c | 154

[Libosinfo] [libosinfo PATCH 30/31] test-os: Add test_features_inheritance_basic()

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../test-os-features-basic-1.xml | 13 + .../test-os-features-basic-2-clone.xml| 10 .../test-os-features-basic-2.xml | 10 tests/test-os.c | 58 +++ 4 files changed

[Libosinfo] [libosinfo PATCH 31/31] test-os: Add test_features_inheritance_removal()

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../test-os-features-removed-1.xml| 14 +++ .../test-os-features-removed-2-clone.xml | 10 ++ .../test-os-features-removed-2.xml| 10 ++ .../test-os-features-removed-3.xml| 14 +++ .../test-os-features-removed-4

[Libosinfo] [libosinfo PATCH 04/31] osinfo: Introduce OsinfoFeatureList

2018-11-23 Thread Fabiano Fidêncio
OsinfoFeatureList is a list of guest OS features. Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am | 2 + osinfo/libosinfo.syms | 3 ++ osinfo/osinfo.h | 1 + osinfo/osinfo_featurelist.c | 91 + osinfo/osinfo_featurelist.h

[Libosinfo] [libosinfo PATCH 23/31] tests: Add basic tests for FeatureLinkList

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + tests/Makefile.am| 5 + tests/test-featurelinklist.c | 317 +++ 3 files changed, 323 insertions(+) create mode 100644 tests/test-featurelinklist.c diff --git a/.gitignore b

[Libosinfo] [libosinfo PATCH 24/31] os: Make devices functions more generic

2018-11-23 Thread Fabiano Fidêncio
-by: Fabiano Fidêncio --- osinfo/osinfo_os.c | 304 +++-- 1 file changed, 180 insertions(+), 124 deletions(-) diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c index 32b107c..7170984 100644 --- a/osinfo/osinfo_os.c +++ b/osinfo/osinfo_os.c @@ -78,9 +78,9

[Libosinfo] [libosinfo PATCH 08/31] devicelink: Inherit from OsinfoLink

2018-11-23 Thread Fabiano Fidêncio
Let's take advantage of the generic OsinfoLink type and inherit from it. Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_devicelink.c | 82 ++ osinfo/osinfo_devicelink.h | 6 +-- 2 files changed, 6 insertions(+), 82 deletions(-) diff --git a/osinfo

[Libosinfo] [libosinfo PATCH 10/31] osinfo: Use _LINK_PROP_SUPPORTED instead of _DEVICE_LINK_PROP_SUPPORTED

2018-11-23 Thread Fabiano Fidêncio
Let's start using the parent's property so we can, in the future, remove _DEVICE_LINK_PROP_SUPPORTED (mainly considering it's not part of any release yet). Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_loader.c | 4 ++-- osinfo/osinfo_os.c | 6 +++--- 2 files changed, 5 insertions(+), 5

[Libosinfo] [libosinfo PATCH 02/31] osinfo: Introduce OsinfoFeature

2018-11-23 Thread Fabiano Fidêncio
OsinfoFeature is a new type intended to represent *guest* features. Its XML representation is something towards the lines of: cpu-hotplug pci-device-hotplug numa Where supported is an optional attribute which has "true" as its default value. Signed-off-by: Fabiano Fidêncio -

[Libosinfo] [libosinfo PATCH 20/31] test-devicelinklist: Use _linklist_get_targets()

2018-11-23 Thread Fabiano Fidêncio
Let's replace the only usage of _devicelinklist_get_devices() for its parent method _linklist_get_targets(). Signed-off-by: Fabiano Fidêncio --- tests/test-devicelinklist.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test-devicelinklist.c b/tests/test

[Libosinfo] [libosinfo PATCH 28/31] test-os: Add test_duplication_helper()

2018-11-23 Thread Fabiano Fidêncio
By creating this, we can re-use it for testing Guest Features duplication. Signed-off-by: Fabiano Fidêncio --- tests/test-os.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/test-os.c b/tests/test-os.c index b154e94..a3b4cc9 100644

[Libosinfo] [osinfo-db PATCH 01/31] schema: Add support to Guest Features

2018-11-23 Thread Fabiano Fidêncio
by now are: - cpu-hotplug - pci-device-hotplug - numa Signed-off-by: Fabiano Fidêncio --- data/schema/osinfo.rng.in | 25 + 1 file changed, 25 insertions(+) diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in index 22c39d6..260f661 100644 --- a/data/schema

[Libosinfo] [libosinfo PATCH 15/31] tests: Add basic test for DeviceLink

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + tests/Makefile.am | 5 +++ tests/test-devicelink.c | 71 + 3 files changed, 77 insertions(+) create mode 100644 tests/test-devicelink.c diff --git a/.gitignore b/.gitignore index

[Libosinfo] [libosinfo PATCH 07/31] tests: Add basic tests for OsinfoLink

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .gitignore| 1 + tests/Makefile.am | 5 +++ tests/test-link.c | 104 ++ 3 files changed, 110 insertions(+) create mode 100644 tests/test-link.c diff --git a/.gitignore b/.gitignore index 1c31793

[Libosinfo] [osinfo-db/libosinfo PATCH 00/31] Add support for guest features

2018-11-23 Thread Fabiano Fidêncio
d Features that are part of an OS. This series adds the machinery needed for: https://gitlab.com/libosinfo/osinfo-db/issues/12 - osinfo-db: Fabiano Fidêncio (1): schema: Add support to Guest Features data/schema/osinfo.rng.in | 25 + 1 file changed, 25 insertions(+) -

[Libosinfo] [libosinfo PATCH 16/31] osinfo: Introduce OsinfoLinkList

2018-11-23 Thread Fabiano Fidêncio
and FeatureLinkList. Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am | 2 + osinfo/libosinfo.syms| 3 ++ osinfo/osinfo.h | 1 + osinfo/osinfo_linklist.c | 102 +++ osinfo/osinfo_linklist.h | 78 ++ 5 files changed

[Libosinfo] [libosinfo PATCH 06/31] osinfo: Introduce OsinfoLink

2018-11-23 Thread Fabiano Fidêncio
. Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am| 2 + osinfo/libosinfo.syms | 3 + osinfo/osinfo.h | 1 + osinfo/osinfo_link.c | 166 ++ osinfo/osinfo_link.h | 79 po/POTFILES.in| 1 + 6 files changed, 252

[Libosinfo] [libosinfo PATCH 26/31] loader: Make loader aware of Guest Features

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_loader.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c index d809137..6a15c37 100644 --- a/osinfo/osinfo_loader.c +++ b/osinfo/osinfo_loader.c

[Libosinfo] [libosinfo PATCH 17/31] tests: Add basic tests for OsinfoLinkList

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .gitignore| 1 + tests/Makefile.am | 5 + tests/test-linklist.c | 419 ++ 3 files changed, 425 insertions(+) create mode 100644 tests/test-linklist.c diff --git a/.gitignore b/.gitignore index

[Libosinfo] [libosinfo PATCH 18/31] devicelinklist: Inherit from OsinfoLinkList

2018-11-23 Thread Fabiano Fidêncio
Let's take advantage of the abstract OsinfoLinkList and inherit from it. Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_devicelinklist.c | 13 - osinfo/osinfo_devicelinklist.h | 4 ++-- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/osinfo

[Libosinfo] [libosinfo PATCH 25/31] os: Make os aware of Guest Features

2018-11-23 Thread Fabiano Fidêncio
This commit only adds *one* new API that will allow OsinfoLoader to add Guest Features to the OS. Further in this series APIs for retrieving Guest Features will be added. Signed-off-by: Fabiano Fidêncio --- osinfo/libosinfo.syms | 5 ++ osinfo/osinfo_os.c| 125

[Libosinfo] [libosinfo PATCH 19/31] os: Use _linklist_get_targets()

2018-11-23 Thread Fabiano Fidêncio
Let's replace the only usage of _devicelinklist_get_devices() for its parent method _linklist_get_targets(). Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_os.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c index 0a8754d

[Libosinfo] [libosinfo PATCH 11/31] devicelink: Remove OSINFO_DEVICELINK_PROP_SUPPORTED

2018-11-23 Thread Fabiano Fidêncio
The property is not used anywhere else since the addition of OSINFO_LINK_PROP_SUPPORTED and can be simply dropped as it's never been part of any release. Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_devicelink.h | 1 - 1 file changed, 1 deletion(-) diff --git a/osinfo/osinfo_devicelink.h

[Libosinfo] [libosinfo PATCH 09/31] osinfo: Use _link_get_target() instead of _device_link_get_target()

2018-11-23 Thread Fabiano Fidêncio
Let's start using the parent's methods so we can, in the future, deprecate _device_link_get_target(). Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_deployment.c | 4 ++-- osinfo/osinfo_devicelinkfilter.c | 2 +- osinfo/osinfo_devicelinklist.c | 2 +- osinfo/osinfo_os.c

[Libosinfo] [libosinfo PATCH 05/31] tests: Add basic test for OsinfoListFeature

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + tests/Makefile.am| 5 + tests/test-featurelist.c | 228 +++ 3 files changed, 234 insertions(+) create mode 100644 tests/test-featurelist.c diff --git a/.gitignore b/.gitignore

[Libosinfo] [libosinfo PATCH 22/31] osinfo: Introduce OsinfoFeatureLinkList

2018-11-23 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am | 2 + osinfo/libosinfo.syms | 3 ++ osinfo/osinfo.h | 1 + osinfo/osinfo_featurelinklist.c | 90 + osinfo/osinfo_featurelinklist.h | 78

Re: [Libosinfo] [libosinfo PATCH v2 1/2] osinfo: Create an intermediate convenience library

2018-11-21 Thread Fabiano Fidêncio
On Wed, 2018-11-21 at 09:08 +, Daniel P. Berrangé wrote: > On Wed, Nov 21, 2018 at 09:44:47AM +0100, Christophe Fergeau wrote: > > Ok, 2 more comments actually, > > > > On Tue, Nov 20, 2018 at 03:11:23PM +0100, Fabiano Fidêncio wrote: > > > Let's create libosinfo

Re: [Libosinfo] [osinfo-db PATCH] RFC: schema: Add support to Guest Features

2018-11-20 Thread Fabiano Fidêncio
On Tue, Nov 20, 2018 at 12:11 PM Daniel P. Berrangé wrote: > > On Thu, Nov 15, 2018 at 12:04:33PM +0100, Fabiano Fidêncio wrote: > > One of the requests that came from KubeVirt is that would be really nice > > if we could expose Guest supported features. > > > >

[Libosinfo] [osinfo-db/libosinfo PATCH 0/2] Rename "removed" devices' attribute to "unsupported"

2018-11-20 Thread Fabiano Fidêncio
This suggestion came as part of a review from a different series* and after discussing with Daniel on #virt we've decided to also change it for the devices. *: https://www.redhat.com/archives/libosinfo/2018-November/msg00228.html - osinfo-db: Fabiano Fidêncio (1): schema: Rename "re

[Libosinfo] [libosinfo PATCH 2/2] devicelink: Rename "removed" to "supported"

2018-11-20 Thread Fabiano Fidêncio
it to "supported". Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_devicelink.h| 2 +- osinfo/osinfo_loader.c| 12 ++-- osinfo/osinfo_os.c| 68 +-- .../test-os-devices-removed-1.xml

[Libosinfo] [osinfo-db PATCH 1/2] schema: Rename "removed" to "supported"

2018-11-20 Thread Fabiano Fidêncio
After some discussion seems that a better nae for the "removed" attribute would be "supported" (as it'd be more coherent with features that are about to come). While there's still no release of osinfo-db with the "removed" attribute, let's just rename it to "

[Libosinfo] [libosinfo PATCH v2 1/2] osinfo: Create an intermediate convenience library

2018-11-20 Thread Fabiano Fidêncio
osinfo-1.0.la) will remain the same. Signed-off-by: Fabiano Fidêncio --- osinfo/Makefile.am | 48 ++ 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am index 058653a..60b601f 100644 --- a/osinfo/Makefil

[Libosinfo] [libosinfo PATCH v2 0/2] Fix `make check` breakage on FreeBSD 11

2018-11-20 Thread Fabiano Fidêncio
the FreeBSD 11 breakage without introducing any other issue. - Changes since v1: https://www.redhat.com/archives/libosinfo/2018-November/msg00223.html - Took a totally different approach based on Daniel's comment; Fabiano Fidêncio (2): osinfo: Create an intermediate convenience library

[Libosinfo] [libosinfo PATCH v2 2/2] tests: Fix `make check` breakage for FreeBSD 11

2018-11-20 Thread Fabiano Fidêncio
, one linked in the test and the other from libosinfo.so. Signed-off-by: Fabiano Fidêncio --- tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index b239ecd..00dcc9c 100644 --- a/tests/Makefile.am +++ b/tests

Re: [Libosinfo] [libosinfo PATCH 0/2] Fix `make check` breakage on FreeBSD 11

2018-11-20 Thread Fabiano Fidêncio
On Tue, 2018-11-20 at 10:26 +0100, Fabiano Fidêncio wrote: > The approach taken to fix the `make check` breakage is to export our > private symbols together with our public ones (under > LIBOSINFO_PRIVATE_$VERSION). > > Fabiano Fidêncio (2): > syms: "export" priva

[Libosinfo] [libosinfo PATCH 1/2] syms: "export" private syms

2018-11-20 Thread Fabiano Fidêncio
to generate the libosinfo.syms. Signed-off-by: Fabiano Fidêncio --- .gitignore | 1 + osinfo/Makefile.am | 12 osinfo/libosinfo_private.syms| 7 +++ osinfo/{libosinfo.syms

[Libosinfo] [libosinfo PATCH 0/2] Fix `make check` breakage on FreeBSD 11

2018-11-20 Thread Fabiano Fidêncio
The approach taken to fix the `make check` breakage is to export our private symbols together with our public ones (under LIBOSINFO_PRIVATE_$VERSION). Fabiano Fidêncio (2): syms: "export" private syms tests: Fix `make check` breakage on FreeBSD 11

[Libosinfo] [libosinfo PATCH 2/2] tests: Fix `make check` breakage on FreeBSD 11

2018-11-20 Thread Fabiano Fidêncio
tests, let's export osinfo_product_foreach_related and remove the osinfo_product.c inclusion. Signed-off-by: Fabiano Fidêncio --- osinfo/libosinfo_private.syms | 3 +++ tests/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/osinfo/libosinfo_private.syms b

[Libosinfo] [PATCH] test-devicelinklist: Remove duplicated assert

2018-11-19 Thread Fabiano Fidêncio
Having a duplicated g_assert_true() on CentOS7 breaks `make check` as the compiler tries to make the second assert into a constant. As the second assert was a typo anyways, let's just remove it in order to fix `make check`. Signed-off-by: Fabiano Fidêncio --- Pushed under build breakage rule

[Libosinfo] [PATCH] test-os: Add missing XML files

2018-11-19 Thread Fabiano Fidêncio
Those XMLs should have been added as part be1f2def2 but unfortunately something went wrong while rebasing the patches. Signed-off-by: Fabiano Fidêncio --- Pushed under build-breakage rule. --- .../test-os-resources-inheritance-1.xml | 25 +++ .../test-os-resources

[Libosinfo] [PATCH] os: Fix build breakage

2018-11-19 Thread Fabiano Fidêncio
Similarly to what was fixed by commit 6b246cd9e, let's do not use variable declarations inside "for" loop as it's only allowed in C99 mode. Signed-off-by: Fabiano Fidêncio --- osinfo/osinfo_os.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/osinfo/osi

Re: [Libosinfo] [osinfo-db, libosinfo PATCH v2 0/6] Add support for resources' inheritance

2018-11-19 Thread Fabiano Fidêncio
On Fri, 2018-11-16 at 15:11 -0500, Cole Robinson wrote: > On 11/14/2018 06:25 AM, Fabiano Fidêncio wrote: > > This patch set introduces resources' inheritance for OSes that > > derive-from/clone a device that already has its resources set. > > > > While this patch do

Re: [Libosinfo] [PATCH 1/2] tests: display info about what failed in media/tree URI tests

2018-11-19 Thread Fabiano Fidêncio
On Mon, 2018-11-19 at 12:40 +, Daniel P. Berrangé wrote: > On Mon, Nov 19, 2018 at 01:26:43PM +0100, Fabiano Fidêncio wrote: > > On Mon, 2018-11-19 at 11:43 +, Daniel P. Berrangé wrote: > > > Make it possible to debug failures by displaying the URL, > > > curl

Re: [Libosinfo] [PATCH 1/2] tests: display info about what failed in media/tree URI tests

2018-11-19 Thread Fabiano Fidêncio
y on changing the g_printerr() to g_test_message() or similar? If yes, please, just do the change and push the patch without the need of a v2. Also, I've talked to Věra and in general we need to improve our tests in order to have them displaying better info ... mainly in cases where we

Re: [Libosinfo] [PATCH 2/2] tests: ignore transient failures in media/tree URI tests

2018-11-19 Thread Fabiano Fidêncio
res=%d (%s) code=%ld\n", > + url, res, curl_easy_strerror(res), > response_code); > +} > +g_assert_cmpint(res, ==, CURLE_OK); > } > -g_assert_cmpint(res, ==, CURLE_OK); > > tmp = tmp->next; > } The comments done in the previous patch about g_printerr() apply here as well. Best Regards, -- Fabiano Fidêncio ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo

Re: [Libosinfo] [libosinfo PATCH] test-os: Add test_resources_uniqueness()

2018-11-19 Thread Fabiano Fidêncio
On Fri, 2018-11-16 at 14:13 -0500, Cole Robinson wrote: > On 11/13/2018 06:45 AM, Fabiano Fidêncio wrote: > > This test enforces that we'll never have more than one resources > > entry > > for the very same architecture in an OS entry. > > > >

Re: [Libosinfo] [osinfo-db PATCH] debian: Update URLs to 9.6.0

2018-11-19 Thread Fabiano Fidêncio
On Fri, 2018-11-16 at 15:13 -0500, Cole Robinson wrote: > Reviewed-by: Cole Robinson Thanks for the review. I've just pushed this with a small change: s/archive/release for the URLs (caught by test-mediauris). ___ Libosinfo mailing list

[Libosinfo] [libosinfo PATCH] test-os: Fix test breakage

2018-11-19 Thread Fabiano Fidêncio
"for" loop initial declarations are only allowed in C99 mode but some old compilers (like the ones in centos7 or debian8) just don't use it by default. Signed-off-by: Fabiano Fidêncio --- tests/test-os.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/t

Re: [Libosinfo] [osinfo-db PATCH] rhel: Add rhel8.0 data

2018-11-16 Thread Fabiano Fidêncio
On Fri, Nov 16, 2018 at 10:28 AM Christophe Fergeau wrote: > > On Thu, Nov 15, 2018 at 04:22:19PM +0100, Fabiano Fidêncio wrote: > > https://www.redhat.com/en/blog/powering-its-future-while-preserving-present-introducing-red-hat-enterprise-linux-8-beta > > > > Signed-

Re: [Libosinfo] [osinfo-db PATCH v2 4/4] rhel: Add RHEL unknown info

2018-11-16 Thread Fabiano Fidêncio
On Fri, Nov 16, 2018 at 10:39 AM Christophe Fergeau wrote: > > On Thu, Nov 15, 2018 at 10:43:24PM +0100, Fabiano Fidêncio wrote: > > From: Fabiano Fidêncio > > > > In a similar way of what's done on openSUSE and Fedora, let's have an > > "unknown" entr

Re: [Libosinfo] [osinfo-db, libosinfo PATCH 0/4] Add "maximum" resources

2018-11-16 Thread Fabiano Fidêncio
On Fri, Nov 16, 2018 at 8:43 AM Michal Privoznik wrote: > > On 11/14/18 4:54 PM, Fabiano Fidêncio wrote: > > Please, see the patches > > > > osinfo-db: > > Fabiano Fidêncio (1): > > schema: Add "maximum" resources > > > >da

Re: [Libosinfo] [osinfo-db PATCH] ubuntu: Add 19.04 prereleases data

2018-11-16 Thread Fabiano Fidêncio
On Fri, Nov 16, 2018 at 9:09 AM Didier Roche wrote: > > Le 16/11/2018 à 08:55, Fabiano Fidêncio a écrit : > > From: Fabiano Fidêncio > > > > Signed-off-by: Fabiano Fidêncio > > > +1 Thanks, pushed both patches! [snip] _

[Libosinfo] [libosinfo PATCH] ubuntu: Add 19.04 prerelease isodata

2018-11-16 Thread Fabiano Fidêncio
From: Fabiano Fidêncio Signed-off-by: Fabiano Fidêncio --- .../ubuntu/ubuntu19.04/disco-desktop-amd64.iso.txt | 29 ++ .../ubuntu/ubuntu19.04/disco-server-amd64.iso.txt | 29 ++ .../ubuntu/ubuntu19.04/disco-server-arm64.iso.txt | 29

[Libosinfo] [osinfo-db PATCH] ubuntu: Add 19.04 prereleases data

2018-11-16 Thread Fabiano Fidêncio
From: Fabiano Fidêncio Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 data/os/ubuntu.com/ubuntu-19.04.xml.in diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os

Re: [Libosinfo] [osinfo-db PATCH] ubuntu18.10: Update data after release

2018-11-16 Thread Fabiano Fidêncio
On Fri, Nov 16, 2018 at 8:29 AM Didier Roche wrote: > > Le 16/11/2018 à 08:11, Fabiano Fidêncio a écrit : > > Adding Didier Roche to the loop > > +1 as well, with a little question: > > Is there anything in the UIs like gnome-boxes which is going to > differen

Re: [Libosinfo] [libosinfo] ubuntu18.10: Update isodata after release

2018-11-15 Thread Fabiano Fidêncio
Adding Didier Roche to the loop. On Thu, Nov 15, 2018 at 3:36 PM Fabiano Fidêncio wrote: > > Signed-off-by: Fabiano Fidêncio > --- > .../ubuntu18.10/cosmic-desktop-amd64.iso.txt | 4 +-- > .../cosmic-live-server-amd64.iso.txt | 29 +++ > .../ubuntu1

Re: [Libosinfo] [osinfo-db PATCH] ubuntu18.10: Update data after release

2018-11-15 Thread Fabiano Fidêncio
Adding Didier Roche to the loop On Thu, Nov 15, 2018 at 3:36 PM Fabiano Fidêncio wrote: > > Signed-off-by: Fabiano Fidêncio > --- > data/os/ubuntu.com/ubuntu-18.10.xml.in | 21 +++-- > 1 file changed, 15 insertions(+), 6 deletions(-) > > diff --git a/data

[Libosinfo] [PATCH 1/2] Revert "caasp: Adjust caasp[1-3].0 volume-id regex"

2018-11-15 Thread Fabiano Fidêncio
This reverts commit 50b5dad70b5c6eebd5c365a340291ee76630d2c2, which was wrong and broke test-isodata. This is totally my bad that didn't run `make check` before actually submitting the patches. Signed-off-by: Fabiano Fidêncio --- Already pushed as trivial/build fix. --- data/os/suse.com/caasp

[Libosinfo] [PATCH 2/2] caasp: Add caasp-unknown info

2018-11-15 Thread Fabiano Fidêncio
In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for CaaSP that would cover any possible future release while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- Already pushed as trivial/build fix. --- data/os/suse

[Libosinfo] [osinfo-db PATCH v2 3/4] rhel: Add RHEL-8 unknown info

2018-11-15 Thread Fabiano Fidêncio
In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for RHEL-8 that would cover any possible future release while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8-unknown.x

[Libosinfo] [osinfo-db PATCH v2 4/4] rhel: Add RHEL unknown info

2018-11-15 Thread Fabiano Fidêncio
From: Fabiano Fidêncio In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for RHEL that would cover any possible future releases while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-unknown.x

[Libosinfo] [osinfo-db PATCH 1/2] caasp: Adjust caasp[1-3].0 volume-id regex

2018-11-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/suse.com/caasp-1.0.xml.in | 2 +- data/os/suse.com/caasp-2.0.xml.in | 2 +- data/os/suse.com/caasp-3.0.xml.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/os/suse.com/caasp-1.0.xml.in b/data/os/suse.com/caasp-1.0.xml.in

[Libosinfo] [osinfo-db PATCH 2/2] caasp: Add caasp-unknown info

2018-11-15 Thread Fabiano Fidêncio
In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for CaaSP that would cover any possible future release while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- data/os/suse.com/caasp-unknown.x

[Libosinfo] [osinfo-db PATCH v2 0/4] Add "unknown" entries for Enterprise distros

2018-11-15 Thread Fabiano Fidêncio
1: https://www.redhat.com/archives/libosinfo/2018-November/msg00030.html - SUSE part has been already reviewed and pushed. - Added RHEL-8 unknown as RHEL-8 Beta has been announced Today Fabiano Fidêncio (4): rhel: Add RHEL-6 unknown info rhel: Add RHEL-7 unknown info rhel: Add RHEL-8 unknown i

[Libosinfo] [osinfo-db PATCH v2 2/4] rhel: Add RHEL-7 unknown info

2018-11-15 Thread Fabiano Fidêncio
From: Fabiano Fidêncio In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for RHEL-7 that would cover any possible future release while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-7-unkn

[Libosinfo] [osinfo-db PATCH v2 1/4] rhel: Add RHEL-6 unknown info

2018-11-15 Thread Fabiano Fidêncio
From: Fabiano Fidêncio In a similar way of what's done on openSUSE and Fedora, let's have an "unknown" entry for RHEL-6 that would cover any possible future release while the proper release is not added to our db. Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-6-unkn

Re: [Libosinfo] [osinfo-db PATCH 5/6] suse: Add SLE-15-unknown info

2018-11-15 Thread Fabiano Fidêncio
Charles, On Thu, Nov 15, 2018 at 7:48 PM Charles Arnold wrote: > > >>> On 11/5/2018 at 02:05 AM, Fabiano Fidêncio wrote: > > In a similar way of what's done on openSUSE and Fedora, let's have an > > "unknown" entry for SLE-15 that would cover any possibl

Re: [Libosinfo] [PATCH] NetBSD: add NetBSD 7.2 data

2018-11-15 Thread Fabiano Fidêncio
Vicente, On Thu, Nov 15, 2018 at 7:15 PM Vicente Chaves de Melo wrote: > > Hello Fabiano, > NetBSD has a very peculiar version numbering. > As described in the https://www.netbsd.org/releases/release-map.html link > > NetBSD 7.2 is the result of the development of the NetBSD-7 branch. > >

[Libosinfo] [libosinfo PATCH] rhel: Add rhel8.0 isodata

2018-11-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../RHEL-8.0-20181113.1-aarch64-boot.iso.txt | 29 +++ .../RHEL-8.0-20181113.1-aarch64-dvd1.iso.txt | 29 +++ .../RHEL-8.0-20181113.1-ppc64le-boot.iso.txt | 16 ++ .../RHEL-8.0-20181113.1-ppc64le-dvd1.iso.txt | 16

[Libosinfo] [osinfo-db PATCH] rhel: Add rhel8.0 data

2018-11-15 Thread Fabiano Fidêncio
https://www.redhat.com/en/blog/powering-its-future-while-preserving-present-introducing-red-hat-enterprise-linux-8-beta Signed-off-by: Fabiano Fidêncio --- data/os/redhat.com/rhel-8.0.xml.in | 77 ++ 1 file changed, 77 insertions(+) create mode 100644 data/os

[Libosinfo] [osinfo-db PATCH] popos: Add popos18.10 data

2018-11-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/system76.com/popos-18.10.xml.in | 58 + 1 file changed, 58 insertions(+) create mode 100644 data/os/system76.com/popos-18.10.xml.in diff --git a/data/os/system76.com/popos-18.10.xml.in b/data/os/system76.com/popos-18.10

[Libosinfo] [libosinfo] ubuntu18.10: Update isodata after release

2018-11-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- .../ubuntu18.10/cosmic-desktop-amd64.iso.txt | 4 +-- .../cosmic-live-server-amd64.iso.txt | 29 +++ .../ubuntu18.10/cosmic-server-amd64.iso.txt | 6 ++-- .../ubuntu18.10/cosmic-server-arm64.iso.txt | 6 ++-- .../ubuntu18.10

[Libosinfo] [osinfo-db PATCH] RFC: schema: Add support to Guest Features

2018-11-15 Thread Fabiano Fidêncio
of how it'll look like is: device-hotplug cpu-hotplug NUMA >From the start: - features *will* be inrited between OSes, by default. - the feature element has an optional "removed" attribute which, by default, is "false". Is this approach okay? Signed-o

[Libosinfo] [osinfo-db PATCH] debian: Update URLs to 9.6.0

2018-11-15 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- data/os/debian.org/debian-9.xml.in | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in index e98690d..53f9e6c 100644 --- a/data/os/debian.org/debian-9

<    6   7   8   9   10   11   12   13   14   15   >