X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_halt.c;h=58a03747939b8b9125398e3cda470b5237d85693;hb=8e9c13c41b0244a8d0029e837a623591a22c5879;hp=bb4a46a078489e4b881161f161bff7f32fd41da8;hpb=cf780b903a02efc700d51dbadcc90115f016256c;p=palacios.git diff --git a/palacios/src/palacios/vmm_halt.c b/palacios/src/palacios/vmm_halt.c index bb4a46a..58a0374 100644 --- a/palacios/src/palacios/vmm_halt.c +++ b/palacios/src/palacios/vmm_halt.c @@ -58,6 +58,13 @@ int v3_handle_halt(struct guest_info * info) { /* if no interrupt, then we do halt */ /* asm("hlt"); */ } + + /* check if there is a core move request pending + * if there is, resume the guest with RIP on halt instruction again + */ + if (info->core_move_state == CORE_MOVE_PENDING){ + return 0; + } } /* V3_Print("palacios: done with halt\n"); */