X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm.c;h=491b7dee4da2ba6579bafc99a43b10a404f1a42b;hb=e1ea936272cd584e26b3a2be63d549fafd44e6dd;hp=86b149a35412ec17c2e3685909037aeef58f9b08;hpb=e86fcd72dd75d5a2fee791046f87ffd3ac454285;p=palacios.git diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 86b149a..491b7de 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -301,7 +301,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"); }