void-packages/srcpkgs/xen/patches/qemu-xen-memfd.patch
Jürgen Buchmüller c689dde816
xen: update to 4.10.1
Use latest ipxe (https://ipxe.org/) from git because the one
distributed via xen git repo fails to build.
Use latest seabios from system.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-09-22 19:32:20 +02:00

11 lines
413 B
Diff

--- tools/qemu-xen/util/memfd.c.orig 2018-09-22 17:42:37.087624225 +0200
+++ tools/qemu-xen/util/memfd.c 2018-09-22 17:42:51.368623656 +0200
@@ -37,7 +37,7 @@
#include <sys/syscall.h>
#include <asm/unistd.h>
-static int memfd_create(const char *name, unsigned int flags)
+int memfd_create(const char *name, unsigned int flags)
{
#ifdef __NR_memfd_create
return syscall(__NR_memfd_create, name, flags);