Hi,
I would like to print the available information in the KVMi handshake callback:
static int cb_handshake(
const struct kvmi_qemu2introspector *qemu,
struct kvmi_introspector2qemu *intro,
void *ctx)
{
(void)ctx;
if (!qemu || !intro) {
errprint("Invalid parameters in KVMi handshake callback");
return 1;
}
char str_time[20] = {0};
strftime(str_time, 20, "%Y-%m-%d %H:%M:%S", localtime(&qemu->start_time));
// print name and start time
dbprint(VMI_DEBUG_KVM, "--KVMi handshake - Domain name: %s, Start time: %s\n", qemu->name, str_time);
// print UUID
for (int i = 0; i < 16; i++)
printf("%.2X ", qemu->uuid[i]);
printf("\n");
// print cookie
for (int i = 0; i < 20; i++)
printf("%.2X ", intro->cookie_hash[i]);
printf("\n");
return 0;
}
However some of the fields are empty:

cc @adlazar, @mdontu is this not implemented yet ?