X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=241ec8a8a6cb29db6223e1e2b91dcad44470b21e;hb=cfcceed5890430afedcc544bd7dbb69e29dfd65a;hp=eb85d7d9eba114b65ef3be3321e85651465463ba;hpb=9019b8dedfa7de9da84c55bc488a60a784231899;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index eb85d7d..241ec8a 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -32,10 +32,17 @@ #include #include #include -#include #include +#ifdef CONFIG_TELEMETRY +#include +#endif + +#ifdef CONFIG_SYMBIOTIC_SWAP +#include +#endif + struct v3_gprs { v3_reg_t rdi; @@ -110,9 +117,14 @@ struct v3_segments { struct shadow_page_state; struct v3_intr_state; -struct v3_profiler; +#ifdef CONFIG_TELEMETRY +struct v3_telemetry; +#endif +#ifdef CONFIG_SYMBIOTIC_SWAP +struct v3_sym_swap_state; +#endif struct guest_info { @@ -166,10 +178,17 @@ struct guest_info { uint64_t yield_cycle_period; uint64_t yield_start_cycle; + uint64_t num_exits; + +#ifdef CONFIG_TELEMETRY + uint_t enable_telemetry; + struct v3_telemetry_state telemetry; +#endif - uint_t enable_profiler; - struct v3_profiler profiler; +#ifdef CONFIG_SYMBIOTIC_SWAP + struct v3_sym_swap_state swap_state; +#endif void * decoder_state; }; @@ -192,6 +211,4 @@ void v3_print_GPRs(struct guest_info * info); #endif // ! __V3VEE__ - - #endif