X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=cc53166466a7f053c30850f84df74bf2324494fa;hp=684af4da26024cfccfc09b5900189ec1551c9d9b;hb=af355c370ac80f8e19d6375cb3070213c29a92eb;hpb=9e5b4c4140241b45094c87ac15f75fead726981f diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 684af4d..cc53166 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -82,9 +82,14 @@ struct vm_ctrl_ops { typedef enum {SHADOW_PAGING, NESTED_PAGING} vmm_paging_mode_t; +typedef enum {VM_RUNNING, VM_STOPPED, VM_SUSPENDED, VM_ERROR, VM_EMULATING} vm_operating_mode_t; + + typedef enum {REAL, /*UNREAL,*/ PROTECTED, PROTECTED_PAE, LONG, LONG_32_COMPAT, LONG_16_COMPAT} vm_cpu_mode_t; typedef enum {PHYSICAL_MEM, VIRTUAL_MEM} vm_mem_mode_t; + + struct guest_info { ullong_t rip; @@ -120,6 +125,7 @@ struct guest_info { + vm_operating_mode_t run_state; void * vmm_data; };