pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Aug 16 10:15:09 UTC 2018

Modified Files:
        pkgsrc/emulators/qemu: Makefile distinfo
        pkgsrc/emulators/qemu/patches: patch-hw_usb_dev-mtp.c
Removed Files:
        pkgsrc/emulators/qemu/patches: patch-slirp_tcp__subr.c

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.136 -r1.137 pkgsrc/emulators/qemu/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c
cvs rdiff -u -r1.7 -r0 pkgsrc/emulators/qemu/patches/patch-slirp_tcp__subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.187 pkgsrc/emulators/qemu/Makefile:1.188
--- pkgsrc/emulators/qemu/Makefile:1.187        Tue Aug 14 06:57:26 2018
+++ pkgsrc/emulators/qemu/Makefile      Thu Aug 16 10:15:09 2018
@@ -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-poo
 .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

Index: pkgsrc/emulators/qemu/distinfo
diff -u pkgsrc/emulators/qemu/distinfo:1.136 pkgsrc/emulators/qemu/distinfo:1.137
--- pkgsrc/emulators/qemu/distinfo:1.136        Tue Aug 14 06:57:26 2018
+++ pkgsrc/emulators/qemu/distinfo      Thu Aug 16 10:15:09 2018
@@ -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_ivshm
 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

Index: pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c
diff -u pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c:1.1 pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c:1.2
--- pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c:1.1    Fri Aug 25 12:39:56 2017
+++ pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c        Thu Aug 16 10:15:09 2018
@@ -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



Home | Main Index | Thread Index | Old Index