#include <palacios/vmm_mem_track.h>
#endif
+
v3_cpu_mode_t v3_get_vm_cpu_mode(struct guest_info * info) {
struct cr0_32 * cr0;
struct efer_64 * efer;
v3_remove_hypercall(vm, GUEST_INFO_HCALL);
+#ifdef V3_CONFIG_HVM
+ v3_deinit_hvm_vm(vm);
+#endif
+
+#ifdef V3_CONFIG_MULTIBOOT
+ v3_deinit_multiboot_vm(vm);
+#endif
+
#ifdef V3_CONFIG_SYMBIOTIC
v3_deinit_symbiotic_vm(vm);
v3_deinit_telemetry(vm);
#endif
+
v3_deinit_events(vm);
#ifdef V3_CONFIG_MEM_TRACK
v3_deinit_symbiotic_core(core);
#endif
+#ifdef V3_CONFIG_HVM
+ v3_deinit_hvm_core(core);
+#endif
+
+#ifdef V3_CONFIG_MULTIBOOT
+ v3_deinit_multiboot_core(core);
+#endif
+
v3_deinit_decoder(core);
v3_deinit_intr_controllers(core);
v3_deinit_core_telemetry(core);
#endif
+
switch (v3_mach_type) {
#ifdef V3_CONFIG_SVM
case V3_SVM_CPU: