X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_telemetry.c;h=fae3c76c813d51fa71086e60c3de725e674b9376;hb=901fc56e53aaae4ebd6e9c3f9879afc3288be824;hp=8d94db0c211baa8c6d24a4d802d481afe13ecd45;hpb=651e3672545ee1d510231995dfbc184d98c3686b;p=palacios.git diff --git a/palacios/src/palacios/vmm_telemetry.c b/palacios/src/palacios/vmm_telemetry.c index 8d94db0..fae3c76 100644 --- a/palacios/src/palacios/vmm_telemetry.c +++ b/palacios/src/palacios/vmm_telemetry.c @@ -27,7 +27,7 @@ #ifdef CONFIG_TELEMETRY_GRANULARITY #define DEFAULT_GRANULARITY CONFIG_TELEMETRY_GRANULARITY #else -#define DEFAULT_GRANULARITY 500 +#define DEFAULT_GRANULARITY 50000 #endif @@ -211,6 +211,11 @@ void v3_print_telemetry(struct v3_vm_info * vm) { V3_Print("Exit information for Core %d\n", core->cpu_id); + if (!node) { + V3_Print("No information yet for this core\n"); + continue; + } + do { evt = rb_entry(node, struct exit_event, tree_node); const char * code_str = vmexit_code_to_str(evt->exit_code);