-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kvmi-v6: some fields of kvmi_qemu2introspector and kvmi_introspector2qemu are empty #34
Comments
This QEMU, matching KVM with KVMI-v6 patches, doesn't send the name, nor the VM start time (padding2). see I've only changed the handshake structure to match KVMI-v6 :( kvmi_introspector2qemu.cookie is what the introspection app sets, if the guest is configured to authenticate the app. So, it should be empty when that callback is called. |
On |
kvmi-test.c shows both fields as non-empty. |
@adlazar my bad, it is my translation to a string date that seem to be incorrect.
but as I got the same date than on my last attempt, i figured the timestamp was empty and therefore starting at 1970. this is how I translated char date[64] = {'\0'};
const char *format = "%a %b %d %Y";
struct tm *tm = NULL;
tm = localtime(&qemu->start_time);
if (strftime(date, sizeof(date), format, tm) <= 0) {
errprint("Failed to convert time to string\n");
} else {
dbprint(VMI_DEBUG_KVM, "-- VM start time: %s\n", date);
} |
KVM-VMI/qemu@58840c5 fixes the VM start time issue. |
Hi,
I would like to print the available information in the KVMi handshake callback:
However some of the fields are empty:
cc @adlazar, @mdontu is this not implemented yet ?
The text was updated successfully, but these errors were encountered: