Subject: CVS commit: pkgsrc/emulators/qemu
From: Adam Ciarcinski
Date: 2018-04-25 09:56:05
Message id: 20180425075605.717EAFBEC@cvs.NetBSD.org

Log Message:
qemu: updated to 2.12.0

2.12.0:

Incompatible changes
The deprecated CLI options "-tdf", "-no-kvm-pit" and \ 
"-drive boot=on|off" have been removed (they only emitted a warning \ 
since QEMU 1.3.0).
The deprecated CLI option "-net channel" has been removed. You can use \ 
"-netdev user,guestfwd=..." instead.
The deprecated CLI option "-hdachs" has been removed. You can specify \ 
the disk geometry e.g. via -device ide-hd,cyls=c,heads=h,secs=s instead.
The deprecated way of configuring SCSI devices with "-drive if=scsi" \ 
on x86 has been removed. Use an appropriate SCSI controller together \ 
"-device scsi-hd" or "-device scsi-cd" and a corresponding \ 
"-blockdev" parameter instead.
The deprecated way of configuring a "host", "serial", \ 
"disk" or "net" USB device with "-usbdevice" has \ 
been removed. Use "-device usb-..." instead.
The deprecated HMP commands "usb_add" and "usb_del" have \ 
been removed. Use "device_add" and "device_del" as \ 
replacement instead.
The deprecated HMP commands "host_net_add" and \ 
"host_net_remove" have been removed. Use "netdev_add" and \ 
"netdev_remove" instead.
The deprecated way of dumping network traffic with "-net dump" has \ 
been removed. Use "-object filter-dump" instead.
The deprecated "spapr-pci-vfio-host-bridge" device has been removed \ 
(from qemu-system-ppc64). It is not needed for vfio since QEMU v2.6.0 anymore.
Deprecated options and features
qemu-system-ppcemb is deprecated. Use qemu-system-ppc instead.
The parameters "serial", "trans", "secs", \ 
"heads", "cyls" and "addr" of the \ 
"-drive" option are now deprecated. Use the corresponding options of \ 
"-device" instead.
The "-nodefconfig" option is now deprecated. Use \ 
"-no-user-config" instead.
The "-s390-squash-mcss" parameter for the s390-ccw-virtio machine is \ 
now deprecated. It has been made obsolete by allowing to put any device into any \ 
channel subsystem image (unrestricted cssids).
The parameter "handle" of the "-fsdev" and \ 
"-virtfs" options is now depecrated. Use "local" instead.
The qmp command "query-cpus" is now deprecated. Use the new \ 
"query-cpus-fast" qmp command instead, which does not interrupt all \ 
running vCPUs. (However, there is a known bug that in 2.12, the \ 
"query-cpus-fast" command reports bogus architecture information for \ 
all architectures except "x86" and "s390".)
While "-net" is not deprecated yet, you are encouraged to use the new \ 
option "-nic" instead of "-net", as it provides a simpler \ 
and better interface ("-nic user" replaces the old "-net nic -net \ 
user").
The "-no-frame" parameter is now deprecated and will be removed \ 
together with SDL 1.2 in a future release.
The "-balloon" parameter is deprecated, use "-device \ 
virtio-balloon" instead.
The "-rtc-td-hack", "-localtime" and "-startdate" \ 
parameters are deprecated. You can use the "-rtc" parameter instead.
The "handle" backend for 9pfs is deprecated.
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)

Files:
RevisionActionfile
1.184modifypkgsrc/emulators/qemu/Makefile
1.54modifypkgsrc/emulators/qemu/PLIST
1.135modifypkgsrc/emulators/qemu/distinfo
1.2modifypkgsrc/emulators/qemu/patches/patch-block.c
1.22removepkgsrc/emulators/qemu/patches/patch-configure
1.1removepkgsrc/emulators/qemu/patches/patch-util_oslib-posix.c