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

Gerd Hoffmann posted 3 patches 12 hours ago
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Ani Sinha <anisinha@redhat.com>
[PULL 3/3] igvm: fix parent object type in IgvmCfg struct
Posted by Gerd Hoffmann 12 hours ago
From: Luigi Leonardi <leonardi@redhat.com>

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>
Message-ID: <20260330-igvm_fixes-v1-3-03587a5a808b@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@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 76ae1bc3be92..7f131c4d0392 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