Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


add raw packet interface
[palacios.git] / palacios / src / palacios / vmm_telemetry.c
index 8d94db0..fae3c76 100644 (file)
@@ -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);