From: Patrick G. Bridges Date: Thu, 14 Feb 2013 18:06:02 +0000 (-0700) Subject: Correction of scheduler registration check X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdaef2158977795b123c9dba6816eb6e9d54810d;p=palacios.releases.git Correction of scheduler registration check --- diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 7fced77..5f164b7 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -218,7 +218,7 @@ struct v3_vm_info * v3_create_vm(void * cfg, void * priv_data, char * name) { * Register this VM with the palacios scheduler. It will ask for admission * prior to launch. */ - if(v3_scheduler_register_vm(vm) != -1) { + if(v3_scheduler_register_vm(vm) == -1) { PrintError(vm, VCORE_NONE,"Error registering VM with scheduler\n"); }