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
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);
v3_deinit_hypercall_map(vm);
#ifdef CONFIG_TELEMETRY
- //v3_deinit_telemetry(vm);
+ v3_deinit_telemetry(vm);
#endif
+
+
return 0;
}
#ifdef CONFIG_SYMBIOTIC
- //v3_deinit_symbiotic_core(core);
+ v3_deinit_symbiotic_core(core);
#endif
v3_deinit_decoder(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: