X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm.c;h=e129d296e5b49649799659d752ffb7854d080373;hb=964e7836a6227341b5d895a830b7e36ad6debffb;hp=29e1c52f78651fa846cd13bfefb383469c1b9f55;hpb=a0a992e712cc27186b64663d46414a8c7b111ca8;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 29e1c52..e129d29 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -117,7 +117,7 @@ v3_cpu_arch_t v3_get_cpu_type(int cpu_id) { } -struct v3_vm_info * v3_create_vm(void * cfg) { +struct v3_vm_info * v3_create_vm(void * cfg, void * priv_data) { struct v3_vm_info * vm = v3_config_guest(cfg); if (vm == NULL) { @@ -125,13 +125,15 @@ struct v3_vm_info * v3_create_vm(void * cfg) { return NULL; } + vm->host_priv_data = priv_data; + return vm; } static int start_core(void *p) { - struct guest_info * info = (struct guest_info*)p; + struct guest_info * info = (struct guest_info *)p; PrintDebug("core %u: in start_core\n",info->cpu_id);