From: Jack Lange Date: Thu, 4 Feb 2010 01:00:19 +0000 (-0600) Subject: minor symbiotic interface fixes X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc039f2009a773f8090c15cdacaa4b84b1780ee4;p=palacios.git minor symbiotic interface fixes --- diff --git a/palacios/include/palacios/vmm_sym_iface.h b/palacios/include/palacios/vmm_sym_iface.h index 2f1966a..ddda447 100644 --- a/palacios/include/palacios/vmm_sym_iface.h +++ b/palacios/include/palacios/vmm_sym_iface.h @@ -50,7 +50,7 @@ struct v3_sym_local_page { uint32_t sym_call_enabled : 1; } __attribute__((packed)); } __attribute__((packed)); -}; +} __attribute__((packed)); #include @@ -111,7 +111,7 @@ struct v3_sym_local_state { int v3_init_sym_iface(struct v3_vm_info * vm); - +int v3_init_sym_core(struct guest_info * core); typedef uint64_t sym_arg_t; diff --git a/palacios/src/palacios/vm_guest.c b/palacios/src/palacios/vm_guest.c index e62835c..e295c1a 100644 --- a/palacios/src/palacios/vm_guest.c +++ b/palacios/src/palacios/vm_guest.c @@ -485,6 +485,9 @@ int v3_init_core(struct guest_info * core) { v3_init_decoder(core); +#ifdef CONFIG_SYMBIOTIC + v3_init_sym_core(core); +#endif // init SVM/VMX #ifdef CONFIG_SVM