diff options
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; |
