Reviewed-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Luigi Leonardi <leonardi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <
20260126123755.357378-5-kraxel@redhat.com>
#include "system/address-spaces.h"
#include "hw/core/cpu.h"
+#include "trace.h"
+
#include <igvm/igvm.h>
#include <igvm/igvm_defs.h>
error_setg(errp, "Unable to parse IGVM file %s: %d", filename, igvm);
return -1;
}
+
+ trace_igvm_file_loaded(filename, igvm);
return igvm;
}
return -1;
}
ctx.file = cfg->file;
+ trace_igvm_process_file(cfg->file, onlyVpContext);
/*
* The ConfidentialGuestSupport object is optional and allows a confidential
igvm_reset_enter(int type) "type=%u"
igvm_reset_hold(int type) "type=%u"
igvm_reset_exit(int type) "type=%u"
+igvm_file_loaded(const char *fn, int32_t handle) "fn=%s, handle=0x%x"
+igvm_process_file(int32_t handle, bool context_only) "handle=0x%x context-only=%d"