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.
22 lines
689 B
C
22 lines
689 B
C
$NetBSD: patch-tools_libxl_libxl_uuid.c,v 1.1 2018/07/24 13:40:11 bouyer Exp $
|
|
|
|
--- tools/libxl/libxl_uuid.c.orig 2016-12-05 13:03:27.000000000 +0100
|
|
+++ tools/libxl/libxl_uuid.c 2017-03-24 18:15:58.000000000 +0100
|
|
@@ -82,7 +82,7 @@
|
|
uuid_enc_be(uuid->uuid, &nat_uuid);
|
|
}
|
|
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
int libxl_uuid_from_string(libxl_uuid *uuid, const char *in)
|
|
{
|
|
uint32_t status;
|
|
@@ -120,7 +120,7 @@
|
|
memset(&uuid->uuid, 0, sizeof(uuid->uuid));
|
|
}
|
|
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
int libxl_uuid_compare(const libxl_uuid *uuid1, const libxl_uuid *uuid2)
|
|
{
|
|
uuid_t nat_uuid1, nat_uuid2;
|