X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvm_guest.c;h=b5440746ff80846ee6de9493dfd01759bec171f5;hb=e3cd4f1c180c7a59177c7108c495a2e27af9db10;hp=0e8e5f2112e8709b0ec0ff04bea79088a087d824;hpb=b3662a67b9b28e2b0724ebb2ea10edccba5d2a5b;p=palacios-OLD.git diff --git a/palacios/src/palacios/vm_guest.c b/palacios/src/palacios/vm_guest.c index 0e8e5f2..b544074 100644 --- a/palacios/src/palacios/vm_guest.c +++ b/palacios/src/palacios/vm_guest.c @@ -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 @@ -578,6 +583,8 @@ int v3_free_vm_internal(struct v3_vm_info * 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: