From e0bc511a97a40fa1bdc2dac9d97b9c436c5d6c4d Mon Sep 17 00:00:00 2001 From: Gao feng Date: Tue, 20 Sep 2016 08:06:39 +0800 Subject: [PATCH] Don't support STOPPOD event any more Signed-off-by: Gao feng --- src/exec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/exec.c b/src/exec.c index 0f13e0b..8ee3f52 100644 --- a/src/exec.c +++ b/src/exec.c @@ -729,10 +729,7 @@ static int hyper_release_exec(struct hyper_exec *exec, if (--pod->remains > 0) return 0; - if (pod->type == STOPPOD) { - /* stop pod manually, hyper doesn't care the pod finished codes */ - hyper_send_msg_block(ctl.chan.fd, ACK, 0, NULL); - } else if (pod->type == DESTROYPOD) { + if (pod->type == DESTROYPOD) { /* shutdown vm manually, hyper doesn't care the pod finished codes */ hyper_shutdown(0); } else {