igvm: fix parent object type in IgvmCfg struct

IgvmCfg is defined as an Object but, currently, its first member is an
ObjectClass.

Replace ObjectClass with Object.

Fixes: c1d466d267 ("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>
This commit is contained in:
Luigi Leonardi
2026-03-30 14:43:09 +02:00
committed by Gerd Hoffmann
parent 5df493476f
commit 9b4edc3eca

View File

@@ -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