diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
| commit | c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch) | |
| tree | ef665e7018377f53612ac2751dcaea35a1c587b6 /libxl.libxl__domain_pvcontrol.patch | |
| parent | 39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff) | |
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'libxl.libxl__domain_pvcontrol.patch')
| -rw-r--r-- | libxl.libxl__domain_pvcontrol.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libxl.libxl__domain_pvcontrol.patch b/libxl.libxl__domain_pvcontrol.patch new file mode 100644 index 0000000..178e004 --- /dev/null +++ b/libxl.libxl__domain_pvcontrol.patch @@ -0,0 +1,27 @@ +References: bsc#1161480 + +Fix xl shutdown for HVM without PV drivers + +A return value of zero means no PV drivers. Restore the hunk which was removed. + +Fixes commit b183e180bce93037d3ef385a8c2338bbfb7f23d9 + +Signed-off-by: Olaf Hering <olaf@aepfle.de> +--- + tools/libxl/libxl_domain.c | 3 +++ + 1 file changed, 3 insertions(+) + +Index: xen-4.13.1-testing/tools/libxl/libxl_domain.c +=================================================================== +--- xen-4.13.1-testing.orig/tools/libxl/libxl_domain.c ++++ xen-4.13.1-testing/tools/libxl/libxl_domain.c +@@ -795,6 +795,9 @@ int libxl__domain_pvcontrol(libxl__egc * + if (rc < 0) + return rc; + ++ if (!rc) ++ return ERROR_NOPARAVIRT; ++ + shutdown_path = libxl__domain_pvcontrol_xspath(gc, domid); + if (!shutdown_path) + return ERROR_FAIL; |
