summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-08-16 10:15:09 +0000
committeradam <adam@pkgsrc.org>2018-08-16 10:15:09 +0000
commitb64b3f3c288e963f9cdc58377fb8060171c91c23 (patch)
tree4cdc2f63285257576b53954b636f173a65428c74
parentf974397586a439dcae37cc6b3b99e29393fc71db (diff)
downloadpkgsrc-b64b3f3c288e963f9cdc58377fb8060171c91c23.tar.gz
qemu: updated to 3.0.0
3.0.0: Incompatible changes Option "-no-kvm-pit-reinjection" has been removed. Use "-global kvm-pit.lost_tick_policy=discard" instead. Option "-no-kvm-irqchip" has been removed. Use "-machine kernel_irqchip=off" instead. The "vlan" parameter of the "-net" option has been removed. Use "-netdev" with IDs or the "hubport" netdev instead. The deprecated -drive options "geometry", "addr" and "serial" have been removed. Use "-drive if=none" and pass the options to "-device" instead. The "xlnx-ep108" machine has been replaced by the "xlnx-zcu102" machine. The qemu-img "convert -s snapshot_id_or_name" argument has been removed. Use "convert -l snapshot_param" instead. PPC support for explicitly allocated RMAs has been removed (kernel support removed in 2015). The default for VFIO's "display" option has been changed from "auto" to "off", because "auto" requires an OpenGL-compatible configuration for vGPUs that require GL support. The deprecated xlnx-ep108 machine was removed. Some 32-bit guests on the "virt" machine may need "-machine highmem=off" if they are unable to support LPAE and are confused by the PCI ECAM now being above the 4GB mark in the address space New deprecated options and features The "arch" output member of the "query-cpus-fast" command is deprecated. Use the "target" output member instead. Option "-virtioconsole" is deprecated, use "-device virtconsole" instead. The non-functional "-clock" option will be removed soon. The "pc-0.10" and "pc-0.11" machines are now deprecated. Use newer machine types instead. Option "-enable-hax" is deprecated. Use "-accel hax" instead. The "arch" memeber in the reply to query-cpus-fast is deprecated, use "target" instead. The "file" driver for drives is no longer appropriate for character or host devices and will only accept regular files (S_IFREG). Use host_cdrom or host_device instead. Consult the "Deprecated Features" appendix for the full list of historically deprecated features/options. Future incompatible changes Three options are using different names on the command line and in configuration file. In particular: The "acpi" configuration file section matches command-line option "acpitable"; The "boot-opts" configuration file section matches command-line option "boot"; The "smp-opts" configuration file section matches command-line option "smp". -readconfig will standardize on the name for the command line option. Behavior of automatic calculation of SMP topology when some SMP topology options for -smp are omitted (sockets, cores, threads) will change in the future. If guest ABI needs to be preserved on upgrades while using the SMP topology options, users should either set set all options explicitly (sockets, cores, threads), or omit all of them. Devices "allwinner-a10", "pc87312", "ssi-sd" will be configured with explicit properties instead of implicitly. This is unlikely to affect users. For x86, specifying a CPUID feature with both "+feature/-feature" and "feature=on/off" will cause a warning. The current behavior for this combination ("+feature/-feature" wins over "feature=on/off") will be changed so that "+feature" and "-feature" will be synonyms for "feature=on" and "feature=off" respectively). The read-only block drivers "bochs", "cloop" and "dmg" as well as "rbd" and "vvfat" in certain read-only configurations will no longer enable read-only mode automatically. It will be necessary to specify "read-only=on" explicitly on the command line and in QMP commands for the setup to keep working; the default "read-only=off" setting will result in an error. On s390x, using KVM with a Linux host kernel version < 3.15 has been broken since QEMU version 2.10. This will not be fixed unless a need is communicated (otherwise the code will be removed in the near future, so that you need at least Linux kernel version 3.15 on the host to run KVM on System z)
-rw-r--r--emulators/qemu/Makefile8
-rw-r--r--emulators/qemu/distinfo13
-rw-r--r--emulators/qemu/patches/patch-hw_usb_dev-mtp.c6
-rw-r--r--emulators/qemu/patches/patch-slirp_tcp__subr.c13
4 files changed, 13 insertions, 27 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index e929c2ff936..7800f9148d8 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.187 2018/08/14 06:57:26 adam Exp $
+# $NetBSD: Makefile,v 1.188 2018/08/16 10:15:09 adam Exp $
-DISTNAME= qemu-2.12.1
+DISTNAME= qemu-3.0.0
CATEGORIES= emulators
MASTER_SITES= http://download.qemu-project.org/
EXTRACT_SUFX= .tar.xz
@@ -107,8 +107,8 @@ CONFIGURE_ARGS+= --disable-coroutine-pool
.endif
PLIST_VARS+= ${UE_ARCHS} nbd ivshmem
-.for _var_ in ${USER_EMUL}
-PLIST.${_var_}= YES
+.for pvar in ${USER_EMUL}
+PLIST.${pvar}= YES
.endfor
TEST_TARGET= check
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index 450147b9011..c5bdff65887 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.136 2018/08/14 06:57:26 adam Exp $
+$NetBSD: distinfo,v 1.137 2018/08/16 10:15:09 adam Exp $
-SHA1 (qemu-2.12.1.tar.xz) = 10c2730bb48b1ab4f4d568c3ea2c12a8c35f5106
-RMD160 (qemu-2.12.1.tar.xz) = a50f3be6220da88ce4a67fc3bf717ea788231d81
-SHA512 (qemu-2.12.1.tar.xz) = e05c2bcd06640322452e64e26e4964b3bc9419645de8356f4e83484e37968a0b47dc8377c8c6641941973b247cb0dc22c7dad302d039baa194b1864f2c6ad7e4
-Size (qemu-2.12.1.tar.xz) = 35416404 bytes
+SHA1 (qemu-3.0.0.tar.xz) = fffb4aa0139c7290295a129e040cec0df4468ea6
+RMD160 (qemu-3.0.0.tar.xz) = ea61cb8b6b144c7017c3a53161f883c3aeb15611
+SHA512 (qemu-3.0.0.tar.xz) = a764302f50b9aca4134bbbc1f361b98e71240cdc7b25600dfe733bf4cf17bd86000bd28357697b08f3b656899dceb9e459350b8d55557817444ed5d7fa380a5a
+Size (qemu-3.0.0.tar.xz) = 35624516 bytes
SHA1 (patch-Makefile) = b3899fb8d0dd2f29bf3edd843836612e6e6c019c
SHA1 (patch-audio_audio.c) = 98a1de2fd48638886b5d16f6a61dc72910e98b41
SHA1 (patch-block.c) = 5eb15a87d6646719bf1e9277fbe73a99e4905481
@@ -12,6 +12,5 @@ SHA1 (patch-contrib_ivshmem-server_ivshmem-server.c) = d8f53432b5752f4263dc4ef96
SHA1 (patch-hw_display_omap__dss.c) = 6b13242f28e32346bc70548c216c578d98fd3420
SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc
SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7
-SHA1 (patch-hw_usb_dev-mtp.c) = f5a446079d51b19eae6c2f5e0c9810c181e4f02d
-SHA1 (patch-slirp_tcp__subr.c) = f011c9dc58282e61b26017547a9884f30a6e6154
+SHA1 (patch-hw_usb_dev-mtp.c) = 66543b5559d92f8e2fa9a6eb85e5dfe7c1ad3339
SHA1 (patch-tests_Makefile.include) = 42345d697cb2e324dccf1d68bd8d61e8001c6162
diff --git a/emulators/qemu/patches/patch-hw_usb_dev-mtp.c b/emulators/qemu/patches/patch-hw_usb_dev-mtp.c
index c6f266b6d78..6358e81a2ba 100644
--- a/emulators/qemu/patches/patch-hw_usb_dev-mtp.c
+++ b/emulators/qemu/patches/patch-hw_usb_dev-mtp.c
@@ -1,12 +1,12 @@
-$NetBSD: patch-hw_usb_dev-mtp.c,v 1.1 2017/08/25 12:39:56 jperkin Exp $
+$NetBSD: patch-hw_usb_dev-mtp.c,v 1.2 2018/08/16 10:15:09 adam Exp $
Support NAME_MAX.
---- hw/usb/dev-mtp.c.orig 2017-04-20 14:57:00.000000000 +0000
+--- hw/usb/dev-mtp.c.orig 2018-08-14 19:10:34.000000000 +0000
+++ hw/usb/dev-mtp.c
@@ -26,6 +26,10 @@
#include "hw/usb.h"
- #include "hw/usb/desc.h"
+ #include "desc.h"
+#ifndef NAME_MAX
+#define NAME_MAX 255
diff --git a/emulators/qemu/patches/patch-slirp_tcp__subr.c b/emulators/qemu/patches/patch-slirp_tcp__subr.c
deleted file mode 100644
index 10d714fc161..00000000000
--- a/emulators/qemu/patches/patch-slirp_tcp__subr.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-slirp_tcp__subr.c,v 1.7 2016/05/15 01:25:15 ryoon Exp $
-
---- slirp/tcp_subr.c.orig 2016-05-11 15:56:13.000000000 +0000
-+++ slirp/tcp_subr.c
-@@ -407,6 +407,8 @@ int tcp_fconnect(struct socket *so, unsi
- socket_set_fast_reuse(s);
- opt = 1;
- qemu_setsockopt(s, SOL_SOCKET, SO_OOBINLINE, &opt, sizeof(opt));
-+ opt = 1;
-+ qemu_setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt));
-
- addr = so->fhost.ss;
- DEBUG_CALL(" connect()ing")