[PATCH 3/3] igvm: fix parent object type in IgvmCfg struct

Luigi Leonardi posted 3 patches 2 days, 15 hours ago
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Ani Sinha <anisinha@redhat.com>
[PATCH 3/3] igvm: fix parent object type in IgvmCfg struct
Posted by Luigi Leonardi 2 days, 15 hours ago
IgvmCfg is defined as an Object but, currently, its first member is an
ObjectClass.

Replace ObjectClass with Object.

Fixes: c1d466d267cf ("backends/igvm: Add IGVM loader and configuration")
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
---
 include/system/igvm-internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/system/igvm-internal.h b/include/system/igvm-internal.h
index 76ae1bc3be9249cc1796bd7eec77dd9084358f98..7f131c4d0392214e4d53ca84d60713b3c1493334 100644
--- a/include/system/igvm-internal.h
+++ b/include/system/igvm-internal.h
@@ -19,7 +19,7 @@
 #include <igvm/igvm.h>
 
 struct IgvmCfg {
-    ObjectClass parent_class;
+    Object parent_obj;
 
     /*
      * filename: Filename that specifies a file that contains the configuration

-- 
2.53.0
Re: [PATCH 3/3] igvm: fix parent object type in IgvmCfg struct
Posted by Philippe Mathieu-Daudé 18 hours ago
On 30/3/26 14:43, Luigi Leonardi wrote:
> IgvmCfg is defined as an Object but, currently, its first member is an
> ObjectClass.
> 
> Replace ObjectClass with Object.
> 
> Fixes: c1d466d267cf ("backends/igvm: Add IGVM loader and configuration")
> Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
> ---
>   include/system/igvm-internal.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Re: [PATCH 3/3] igvm: fix parent object type in IgvmCfg struct
Posted by Ani Sinha 1 day, 22 hours ago

> On 30 Mar 2026, at 6:13 PM, Luigi Leonardi <leonardi@redhat.com> wrote:
> 
> IgvmCfg is defined as an Object but, currently, its first member is an
> ObjectClass.
> 
> Replace ObjectClass with Object.
> 
> Fixes: c1d466d267cf ("backends/igvm: Add IGVM loader and configuration")
> Signed-off-by: Luigi Leonardi <leonardi@redhat.com>

Reviewed-by: Ani Sinha <anisinha@redhat.com>

> ---
> include/system/igvm-internal.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/system/igvm-internal.h b/include/system/igvm-internal.h
> index 76ae1bc3be9249cc1796bd7eec77dd9084358f98..7f131c4d0392214e4d53ca84d60713b3c1493334 100644
> --- a/include/system/igvm-internal.h
> +++ b/include/system/igvm-internal.h
> @@ -19,7 +19,7 @@
> #include <igvm/igvm.h>
> 
> struct IgvmCfg {
> -    ObjectClass parent_class;
> +    Object parent_obj;
> 
>     /*
>      * filename: Filename that specifies a file that contains the configuration
> 
> -- 
> 2.53.0
>