X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvm_guest.c;h=4ab0134f58ca1b6ff599b0ce9013af186dcc1406;hb=b85736ddc6f71db2baff0dca782baaba856cc2da;hp=92f49b6f2683f38d37913efb6db3c79559f86e7a;hpb=c1dbdcb38628bb6fc5cf1e31bc7feb2f2257371b;p=palacios.git diff --git a/palacios/src/palacios/vm_guest.c b/palacios/src/palacios/vm_guest.c index 92f49b6..4ab0134 100644 --- a/palacios/src/palacios/vm_guest.c +++ b/palacios/src/palacios/vm_guest.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -526,9 +525,7 @@ static int info_hcall(struct guest_info * core, uint_t hcall_id, void * priv_dat int v3_init_vm(struct v3_vm_info * vm) { v3_cpu_arch_t cpu_type = v3_get_cpu_type(V3_Get_CPU()); - if (v3_get_foreground_vm() == NULL) { - v3_set_foreground_vm(vm); - } + #ifdef CONFIG_TELEMETRY v3_init_telemetry(vm); @@ -657,6 +654,8 @@ int v3_init_core(struct guest_info * core) { v3_cpu_arch_t cpu_type = v3_get_cpu_type(V3_Get_CPU()); struct v3_vm_info * vm = core->vm_info; + + /* * Initialize the subsystem data strutures */