Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


removed outdated build environment
[palacios.git] / palacios / src / palacios / vm_guest.c
index 36ec7d2..1e96747 100644 (file)
@@ -537,6 +537,11 @@ int v3_free_vm_internal(struct v3_vm_info * vm) {
     v3_remove_hypercall(vm, GUEST_INFO_HCALL);
 
 
+
+#ifdef CONFIG_SYMBIOTIC
+    v3_deinit_symbiotic_vm(vm);
+#endif
+
     // init SVM/VMX
     switch (cpu_type) {
 #ifdef CONFIG_SVM
@@ -562,9 +567,9 @@ int v3_free_vm_internal(struct v3_vm_info * vm) {
 
     v3_deinit_time_vm(vm);
 
-    v3_deinit_shdw_impl(vm);
     v3_deinit_mem_hooks(vm);
     v3_delete_mem_map(vm);
+    v3_deinit_shdw_impl(vm);
 
     v3_deinit_intr_routers(vm);
     v3_deinit_host_events(vm);
@@ -575,9 +580,11 @@ int v3_free_vm_internal(struct v3_vm_info * vm) {
     v3_deinit_hypercall_map(vm);
 
 #ifdef CONFIG_TELEMETRY
-    //v3_deinit_telemetry(vm);
+    v3_deinit_telemetry(vm);
 #endif
 
+
+
     return 0;
 }
 
@@ -645,7 +652,7 @@ int v3_free_core(struct guest_info * core) {
 
     
 #ifdef CONFIG_SYMBIOTIC
-    //v3_deinit_symbiotic_core(core);
+    v3_deinit_symbiotic_core(core);
 #endif
 
     v3_deinit_decoder(core);
@@ -659,6 +666,10 @@ int v3_free_core(struct guest_info * core) {
 
     v3_free_passthrough_pts(core);
 
+#ifdef CONFIG_TELEMETRY
+    v3_deinit_core_telemetry(core);
+#endif
+
     switch (cpu_type) {
 #ifdef CONFIG_SVM
        case V3_SVM_CPU: