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.


is patch adds a function v3_print_guest_state_all that calls v3_print_guest_state...
Erik van der Kouwe [Sat, 22 Jan 2011 00:52:02 +0000 (18:52 -0600)]
palacios/include/palacios/vm_guest.h
palacios/src/palacios/vm_guest.c

index 638c752..b435390 100644 (file)
@@ -214,4 +214,6 @@ void v3_print_stack(struct guest_info * info);
 
 #endif /* ! __V3VEE__ */
 
+void v3_print_guest_state_all(struct v3_vm_info * vm);
+
 #endif
index 1e96747..09770a8 100644 (file)
@@ -337,6 +337,26 @@ void v3_print_guest_state(struct guest_info * info) {
     v3_print_disassembly(info);
 }
 
+void v3_print_guest_state_all(struct v3_vm_info * vm) {
+    int i = 0;
+    
+    V3_Print("VM Core states for %s\n", vm->name);
+
+    for (i = 0; i < 80; i++) {
+       V3_Print("-");
+    }
+
+    for (i = 0; i < vm->num_cores; i++) {
+       v3_print_guest_state(&vm->cores[i]);  
+    }
+    
+    for (i = 0; i < 80; i++) {
+       V3_Print("-");
+    }
+
+    V3_Print("\n");    
+}
+
 
 void v3_print_stack(struct guest_info * info) {
     addr_t linear_addr = 0;