Including following update: 1. do kexec load before criu dump 2. move nvwa socket from tmp to run 3. kexec add x 4. move pin tool from tools to tools/pin Signed-off-by: anatasluo <luolongjuna@gmail.com>
27 lines
767 B
Diff
27 lines
767 B
Diff
From a7d47d33d2694b76f7d69c1c4c0beebc15fd5931 Mon Sep 17 00:00:00 2001
|
|
From: anatasluo <luolongjuna@gmail.com>
|
|
Date: Tue, 30 Mar 2021 14:33:31 +0800
|
|
Subject: [PATCH 10/20] kexec: add -x
|
|
|
|
Signed-off-by: anatasluo <luolongjuna@gmail.com>
|
|
---
|
|
src/server.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/server.go b/src/server.go
|
|
index c6eead7..1185789 100644
|
|
--- a/src/server.go
|
|
+++ b/src/server.go
|
|
@@ -324,7 +324,7 @@ func UpdateImage(ver string) int {
|
|
|
|
DumpAllNet(configDir)
|
|
|
|
- err, _ = runCmd(kexecExe, []string{"-e"}, os.Stdin, os.Stdout, os.Stderr)
|
|
+ err, _ = runCmd(kexecExe, []string{"-e", "-x"}, os.Stdin, os.Stdout, os.Stderr)
|
|
if err != nil {
|
|
log.Errorf("Unable to run kexec -e with err %s \n", err)
|
|
return -1
|
|
--
|
|
2.31.1
|
|
|