[libosinfo PATCH 0/3] Add support for resources' inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set introduces resources' inheritance for OSes that
derive-from/clone a device that already has its resources set.

While this patch doesn't cause any harm per si, from the moment we start
removing the duplications we'll need a new libosinfo release with this
code included.

https://gitlab.com/libosinfo/osinfo-db/issues/15

Fabiano Fidêncio (3):
  os: Add _get_.*_resources_without_inheritance()
  os: Add support for Resources inheritance
  test-os: Add test_resources_inheritance()

 osinfo/Makefile.am                            |  1 +
 osinfo/osinfo_os.c                            | 85 ++++++++++++++++-
 osinfo/osinfo_os_private.h                    | 39 ++++++++
 .../test-os-resources-inheritance-1.xml       | 25 +++++
 .../test-os-resources-inheritance-2.xml       | 10 ++
 tests/test-os.c                               | 91 +++++++++++++++++++
 6 files changed, 247 insertions(+), 4 deletions(-)
 create mode 100644 osinfo/osinfo_os_private.h
 create mode 100644 tests/dbdata/os/libosinfo.org/test-os-resources-inheritance-1.xml
 create mode 100644 tests/dbdata/os/libosinfo.org/test-os-resources-inheritance-2.xml

-- 
2.19.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux