pkgsrc/sysutils/xentools411/patches/patch-tools_libxl_libxl_dom.c
bouyer 635c6af9fc Add Xen 4.11.0 packages.
Note that there is a bug in 4.11 (also present in recent 4.6 and 4.8)
which causes an infrequent assert failure when running NetBSD PV guests.
The root cause has not been found, but a workaround is inclued which doesn't
seems to have ill effects. See xenkernel411/patches/patch-zz-bouyer
for details.
2018-07-24 13:40:11 +00:00

13 lines
518 B
C

$NetBSD: patch-tools_libxl_libxl_dom.c,v 1.1 2018/07/24 13:40:11 bouyer Exp $
--- tools/libxl/libxl_dom.c.orig
+++ tools/libxl/libxl_dom.c
@@ -1361,7 +1361,7 @@ const char *libxl__userdata_path(libxl__gc *gc, uint32_t domid,
goto out;
}
uuid_string = GCSPRINTF(LIBXL_UUID_FMT, LIBXL_UUID_BYTES(info.uuid));
- path = GCSPRINTF(XEN_LIB_DIR "/userdata-%s.%u.%s.%s",
+ path = GCSPRINTF(XEN_RUN_DIR "/userdata-%s.%u.%s.%s",
wh, domid, uuid_string, userdata_userid);
out: