X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm.c;h=4b9083b141122111de14eb55dd95b913de94dac7;hp=14a0d2f2e8b5cd488ab09780f33b6730fa3b5fc5;hb=a9a6c3664c8fdbdb9841a55d1a2fca7f4fa8f5de;hpb=04c1f687aa0839b01711be22250903852f1a1257 diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 14a0d2f..4b9083b 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -33,6 +33,10 @@ #include #endif +#ifdef V3_CONFIG_CHECKPOINT +#include +#endif + v3_cpu_arch_t v3_cpu_types[V3_CONFIG_MAX_CPUS]; struct v3_os_hooks * os_hooks = NULL; @@ -119,6 +123,10 @@ void Init_V3(struct v3_os_hooks * hooks, int num_cpus) { V3_init_symmod(); #endif +#ifdef V3_CONFIG_CHECKPOINT + V3_init_checkpoint(); +#endif + #ifdef V3_CONFIG_MULTITHREAD_OS @@ -149,6 +157,10 @@ void Shutdown_V3() { V3_deinit_symmod(); #endif +#ifdef V3_CONFIG_CHECKPOINT + V3_deinit_checkpoint(); +#endif + #ifdef V3_CONFIG_MULTITHREAD_OS if ((os_hooks) && (os_hooks->call_on_cpu)) {