X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvm_guest.c;h=c85c2350e0ba11af90474a5e3ae41691aba63792;hb=e02cc15e36e8f5d7ee66390986351748dd9a16a1;hp=1e96747ab684dda86ffa73641b97e163d5fe065c;hpb=559b7a07d8d5d783f0f2c2a64820ceaeda834a9e;p=palacios-OLD.git diff --git a/palacios/src/palacios/vm_guest.c b/palacios/src/palacios/vm_guest.c index 1e96747..c85c235 100644 --- a/palacios/src/palacios/vm_guest.c +++ b/palacios/src/palacios/vm_guest.c @@ -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;