X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=b435390f0dbf320d0d4336fd0cce54b4623a3ee2;hb=e73f2133673d681426d946d2f5bd8b363a1ab2c1;hp=d9ccd54fd21fc03d4f39e93794d3d0473acf3f20;hpb=1c726cc08a6614a502bfbfa31abd4a0e098ae78b;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index d9ccd54..b435390 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -56,6 +56,8 @@ struct v3_intr_state; /* per-core state */ struct guest_info { + char exec_name[256]; + uint64_t rip; uint_t cpl; @@ -129,6 +131,8 @@ struct guest_info { /* shared state across cores */ struct v3_vm_info { + char name[128]; + v3_vm_class_t vm_class; addr_t mem_size; /* In bytes for now */ @@ -185,6 +189,9 @@ struct v3_vm_info { int v3_init_vm(struct v3_vm_info * vm); int v3_init_core(struct guest_info * core); +int v3_free_vm_internal(struct v3_vm_info * vm); +int v3_free_core(struct guest_info * core); + uint_t v3_get_addr_width(struct guest_info * info); v3_cpu_mode_t v3_get_vm_cpu_mode(struct guest_info * info); @@ -207,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