mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-07 14:11:36 +00:00
Don't support STOPPOD event any more
Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
+1
-4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user