[Libosinfo] [PATCHv2 1/4] Fix relations that osinfo_platform_get_all_devices follows

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Apr 3 16:05:58 UTC 2013


On Wed, Apr 3, 2013 at 6:47 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> We want to consider both platforms that are upgraded from
> (qemu 1.2.0 -> qemu 1.2.1) and derived from
> (qemu 1.2.0 -> qemu-kvm 1.2.0). Should have been part of commit
> da20e3a
> ---

ACK

>  osinfo/osinfo_platform.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/osinfo/osinfo_platform.c b/osinfo/osinfo_platform.c
> index a7b72eb..1a2d803 100644
> --- a/osinfo/osinfo_platform.c
> +++ b/osinfo/osinfo_platform.c
> @@ -133,7 +133,8 @@ OsinfoDeviceList *osinfo_platform_get_all_devices(OsinfoPlatform *platform,
>      };
>
>      osinfo_product_foreach_related(OSINFO_PRODUCT(platform),
> -                                   OSINFO_PRODUCT_FOREACH_FLAG_UPGRADES,
> +                                   OSINFO_PRODUCT_FOREACH_FLAG_UPGRADES |
> +                                   OSINFO_PRODUCT_FOREACH_FLAG_DERIVES_FROM,

This answers my questio in the other mail.

--
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the Libosinfo mailing list