X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=1eba7448f628e11d5620630b06e528cca1862477;hb=95183ed0c20c9280fb109b668033c42e0b8e3d22;hp=638c752d11220ae5d5d5be24b75fd4875fab41f9;hpb=29b7ff8811c82ab543f5c969e44ff217637a09c7;p=palacios-OLD.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 638c752..1eba744 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -36,6 +36,9 @@ #include #include #include +#include + + #ifdef CONFIG_TELEMETRY #include @@ -47,6 +50,13 @@ struct v3_sym_core_state; #endif +#ifdef CONFIG_SYSCALL_HIJACK +#include +#include +#endif + + + #include struct v3_intr_state; @@ -85,6 +95,12 @@ struct guest_info { /* This structure is how we get exceptions for the guest */ struct v3_excp_state excp_state; +#ifdef CONFIG_SYSCALL_HIJACK + struct v3_syscall_hook_map sc_hook_map; + struct v3_execve_varchunk var_dump; + struct v3_exec_hooks exec_hooks; +#endif + v3_cpu_mode_t cpu_mode; v3_mem_mode_t mem_mode; @@ -125,6 +141,7 @@ struct guest_info { /* the logical cpu on which this core runs */ uint32_t cpu_id; + }; @@ -163,18 +180,22 @@ struct v3_vm_info { v3_vm_operating_mode_t run_state; + + + + struct v3_extensions extensions; + #ifdef CONFIG_SYMBIOTIC /* Symbiotic state */ struct v3_sym_vm_state sym_vm_state; #endif - - #ifdef CONFIG_TELEMETRY uint_t enable_telemetry; struct v3_telemetry_state telemetry; #endif + uint64_t yield_cycle_period; @@ -214,4 +235,6 @@ void v3_print_stack(struct guest_info * info); #endif /* ! __V3VEE__ */ +void v3_print_guest_state_all(struct v3_vm_info * vm); + #endif