qemu-git: New approach for ivshmem patch for upstream

This commit is contained in:
Kamil Rytarowski 2017-05-26 07:24:38 +02:00
parent d669aaf9f8
commit 45ce8d83ca
3 changed files with 12 additions and 5 deletions

View file

@ -1,6 +1,4 @@
@comment $NetBSD$
bin/ivshmem-client
bin/ivshmem-server
bin/qemu-ga
bin/qemu-i386
bin/qemu-img

View file

@ -4,5 +4,5 @@ SHA1 (qemu-2.8.1.tar.bz2) = 224289c5e568e400920363820a0647e2aca569e7
RMD160 (qemu-2.8.1.tar.bz2) = 93f71138d19c871195c9e0b1a7ba66275773f93a
SHA512 (qemu-2.8.1.tar.bz2) = 0397b4029cdcb77ed053c44b3579a3f34894038e6fc6b4aa88de14515f5a78bf2f41c5e865f37111529f567c85d2f1c4deefae47dde54f76eac79410e5b2bdda
Size (qemu-2.8.1.tar.bz2) = 28366270 bytes
SHA1 (patch-configure) = df32a9268118f97bfc38c0c934a442b8d445e905
SHA1 (patch-configure) = 2b47ff025df21276443a3a45b9ea098964c9cd43
SHA1 (patch-disas_libvixl_Makefile.objs) = 5bc8da5c29c95d18d415fad5936e7c2bf9d48b57

View file

@ -1,8 +1,8 @@
$NetBSD$
--- configure.orig 2017-05-12 22:04:02.000000000 +0000
--- configure.orig 2017-05-26 04:41:16.000000000 +0000
+++ configure
@@ -3034,14 +3035,13 @@ if test "$curses" != "no" ; then
@@ -3041,14 +3041,13 @@ if test "$curses" != "no" ; then
#include <curses.h>
#include <wchar.h>
int main(void) {
@ -18,3 +18,12 @@ $NetBSD$
}
EOF
IFS=:
@@ -4928,6 +4927,8 @@ if test "$want_tools" = "yes" ; then
tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
tools="qemu-nbd\$(EXESUF) $tools"
+ fi
+ if [ "$eventfd" != "no" ]; then
tools="ivshmem-client\$(EXESUF) ivshmem-server\$(EXESUF) $tools"
fi
fi