From: Jack Lange Date: Sat, 28 Jul 2012 20:23:57 +0000 (-0400) Subject: typo fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=25569fd796d1e1bb160b1b25ece9d4d3422720be;p=palacios.git typo fix --- diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 1d8cd07..ba4a8b0 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -457,7 +457,7 @@ int v3_move_vm_core(struct v3_vm_info * vm, int vcore_id, int target_cpu) { int v3_stop_vm(struct v3_vm_info * vm) { - if ((vm->run_state |= VM_RUNNING) && + if ((vm->run_state != VM_RUNNING) && (vm->run_state != VM_SIMULATING)) { PrintError("Tried to stop VM in invalid runstate (%d)\n", vm->run_state); return -1;