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=8e91634584066252bcba337b0e0816f430cfdb23;hpb=d54fc24e6cfb62cc2fedfb63d3ae68ff636e3a01;p=palacios-OLD.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 8e91634..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,9 +141,7 @@ struct guest_info { /* the logical cpu on which this core runs */ uint32_t cpu_id; - /* the physical cpu on which this core runs */ - uint32_t host_cpu_id; - + }; @@ -166,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;