[Libvirt-announce] Release of libvirt-2.4.0

Daniel Veillard veillard at redhat.com
Tue Nov 1 21:11:45 UTC 2016


  It's out ! Not hearing any negative feedback on the release candidates
I went ahead, this is tagged in git and signed tarball and rpms are now
at the usual place:

   ftp://libvirt.org/libvirt/


I also made a libvirt-python release though it is virtually identical to
2.3.0, to be found at:

   ftp://libvirt.org/libvirt/python/


 this release is on the small side, leass than 250 commits were pulled in,
mostly bugfixes and incremental improvement. Main user visible one being
the one for I/O throtling and tuning:

Documentation:
- docs: remove obsolete library.xen file (Daniel P. Berrange)
- doc: update virsh domstats documentation for vcpu statistics (Viktor Mihajlovski)
- doc: Describe the VCPU states returned by virsh vcpuinfo (Viktor Mihajlovski)
- virsh: Fix typos in manpage (Nitesh Konkar)
- virsh: Fix commas in manpage to enhance readability. (Nitesh Konkar)
- docs: Alter descriptions of perf cpu_cycles (John Ferlan)
- docs: Add PCP as monitoring application (Marko Myllynen)
- docs: Fix typo in libvirt-domain.h parameter description (John Ferlan)

Portability:
- virLogDefineOutputs: Fix build without syslog.h (Michal Privoznik)
- virt-yajl: Fix detection of yajl requirements (Martin Kletzander)

Bug Fixes:
- vsh: Pass correct values for command line completion (John Ferlan)
- vsh: Using VSH_REQUIRE_OPTION rather than virReportError (Kothapally Madhu Pavan)
- network: fix endless loop when starting network with multiple IPs and no dhcp (Laine Stump)
- qemu_driver: unlink new domain cfg file when rollback (Chen Hanxiao)
- qemu: Fix crash during qemuStateCleanup (Nikolay Shirokovskiy)
- daemon: Fix crash during daemon cleanup (Nikolay Shirokovskiy)
- qemu: Forbid pinning vCPUs for TCG domain (Chen Hanxiao)
- Recreate the USB address cache at reconnect (Ján Tomko)
- Fix crash on usb-serial hotplug (Ján Tomko)
- virsh: Fix on_shutdown to on_poweroff (Martin Kletzander)
- qemu, lxc: Raise error message when resuming running domain (Sławek Kapłoński)
- qemu: Fix depedency order in qemuRemoveDiskDevice (John Ferlan)
- qemu: Move TLS object remove from DetachChr to RemoveChr (John Ferlan)
- libxl: fix leaking of allocated migration ports (Jim Fehlig)
- domain: fix migration to older libvirt (Pavel Hrdina)
- domain_conf: fix memory leak in virDomainDefAddConsoleCompat (Pavel Hrdina)
- bhyve: Need to add parameter to virDomainChrDefNew (John Ferlan)
- networkValidate: Forbid new-line char in network name (Sławek Kapłoński)
- qemu: always generate the same alias for tls-creds-x509 object (Pavel Hrdina)
- qemu_hotplug: fix crash in hot(un)plugging chardev devices (Pavel Hrdina)
- util: Alter return value of virReadFCHost and fix mem leak (John Ferlan)
- schema: smbios: allow any strings (Peter Krempa)
- qemu: command: escape smbios entry strings (Peter Krempa)
- testNodeGetCellsFreeMemory: Fix off by one error (Michal Privoznik)
- virsh: vcpuinfo: Report proper vcpu numbers and data for offline VMs (Peter Krempa)
- virsh: Fix xpath queries for retrieving vcpu count (Peter Krempa)
- conf: Fix virDomainShmemDefFind (Martin Kletzander)
- qemu: migration: Disallow migration of read only disk (Corey S. McQuay)
- tests: Need to initialize data (John Ferlan)
- vsh: Fix some issues in auto completion code (John Ferlan)
- util: Resolve memory leaks in virLogParse{Output|Filter} (John Ferlan)
- tools: Exclude Xen dom0 from libvirt-guests.sh list (Stefan Bader)
- tools: Ignore newlines in libvirt-guests.sh guest list (Stefan Bader)
- qemu: fix command line building for iommu devices (Daniel P. Berrange)
- qemu: monitor: Properly configure backend for UDP chardevs (Peter Krempa)
- qemu: attach: Close monitor socket on connection failure (Peter Krempa)
- qemu: Don't strictly require JSON monitor for vCPU detection (Peter Krempa)

Improvements:
- qemu: Minimalize global driver accesses (Michal Privoznik)
- vz: remove Bridged network name and rename Routed (Maxim Nestratov)
- vz: support type=bridge network interface type correctly (Maxim Nestratov)
- Do not try to release virtio serial addresses (Ján Tomko)
- Return directly from qemuDomainAttachChrDeviceAssignAddr (Ján Tomko)
- Introduce virDomainVirtioSerialAddrAutoAssign again (Ján Tomko)
- Add 'FromCache' to  virDomainVirtioSerialAddrAutoAssign (Ján Tomko)
- wireshark: Rename plugindir to ws_plugindir (Andrea Bolognani)
- wireshark: Inject $(prefix) at the right time (Andrea Bolognani)
- wireshark: Strip prefix correctly (Andrea Bolognani)
- wireshark: Hoist $ws_prefix declaration (Andrea Bolognani)
- wireshark: Introduce $ws_modversion (Andrea Bolognani)
- qemu: Add support for using AES secret for SCSI hotplug (Gema Gomez)
- qemu: Add secret object hotplug for TCP chardev TLS (John Ferlan)
- qemu: Add a secret object to/for a char source dev (John Ferlan)
- qemu: Need to remove TLS object in RemoveRNGDevice (John Ferlan)
- virsh: Add _length parameters to virsh output (John Ferlan)
- virsh: Create macros to add IOTUNE values (John Ferlan)
- qemu: Add the length options to the iotune command line (John Ferlan)
- conf: Add support for blkiotune "_length" options (John Ferlan)
- qemu: Add length for bps/iops throttling parameters to driver (John Ferlan)
- caps: Add new capability for the bps/iops throttling length (John Ferlan)
- include: Add new definitions for duration for bps/iops throttling (John Ferlan)
- qemu: Introduce qemuDomainSetBlockIoTuneDefaults (John Ferlan)
- qemu: Move setting of conf_disk in qemuDomainSetBlockIoTune (John Ferlan)
- qemu: Return real error message for block_set_io_throttle (John Ferlan)
- qemu: Create a macro to handle setting bytes/iops iotune values (John Ferlan)
- virQEMUCapsReset: also clear out hostCPUModel (Ján Tomko)
- qemu: add vcpu.n.halted to vcpu domain stats (Viktor Mihajlovski)
- qemu: Add domain support for VCPU halted state (Viktor Mihajlovski)
- qemu: Add monitor support for CPU halted state (Viktor Mihajlovski)
- qemu: replace calls to virDomainPCIAddressReserveNext*() with static function (Laine Stump)
- conf: make virDomainPCIAddressGetNextSlot() a local static function (Laine Stump)
- qemu: use virDomainPCIAddressReserveNextAddr in qemuDomainAssignDevicePCISlots (Laine Stump)
- conf: new function virDomainPCIAddressReserveNextAddr() (Laine Stump)
- domain: Add optional 'tls' attribute for TCP chardev (Pavel Hrdina)
- domain_conf: remove union for one member from redirdev struct (Pavel Hrdina)
- qemu: Add TLS hotplug for qemuDomainAttachRNGDevice (John Ferlan)
- qemu: Add TLS hotplug for qemuDomainAttachRedirdevDevice (John Ferlan)
- qemu: Clean up error path in qemuDomainAttachRedirdevDevice (John Ferlan)
- qemu: Introduce qemuDomainGetChardevTLSObjects for hotplug (John Ferlan)
- conf: Use virDomainChrSourceDefNew for virDomainRNGDef allocation (John Ferlan)
- conf: Use virDomainChrSourceDefPtr for _virDomainRedirdevDef 'source.chr' (John Ferlan)
- conf: Use virDomainChrSourceDefPtr for _virDomainSmartcardDef 'passthru' (John Ferlan)
- xenFormatXLDisk: Unify commas pattern for arguments (Michal Privoznik)
- qemu: change first arg of qemuDomainAttachChrDeviceAssignAddr() (Laine Stump)
- qemu: make error message in qemuDomainPCIAddressSetCreate more clear. (Laine Stump)
- qemu: remove superfluous setting of addrs->nbuses (Laine Stump)
- conf: add typedef for anonymous enum used for memballoon device model (Laine Stump)
- qemu: replace "def->nets[i]" with "net" and "def->sounds[i]" with "sound" (Laine Stump)
- qemu: replace a lot of "def->controllers[i]" with equivalent "cont" (Laine Stump)
- conf: Move the privateData from virDomainChrDef to virDomainChrSourceDef (John Ferlan)
- Introduce virDomainChrSourceDefNew for virDomainChrDefPtr (John Ferlan)
- vmx: Use the allocator virDomainChrDefNew (John Ferlan)
- qemuBuildHostNetStr: remove dead code (Ján Tomko)
- qemuBuildHostNetStr: do not start options with a comma (Ján Tomko)
- qemuBuildHostNetStr: use type_sep earlier (Ján Tomko)
- vz: set something in disk driver name (Nikolay Shirokovskiy)
- vz: add serial number to disk devices (Nikolay Shirokovskiy)
- vz: set localhost as vnc address (Mikhail Feoktistov)
- virt-wireshark.m4: Defer $(prefix) substitution (Michal Privoznik)
- network: Use new util function to check name (Sławek Kapłoński)
- virxml: Add function to check if string contains some illegal chars (Sławek Kapłoński)
- qemu: Introduce qemuDomainChardevPrivatePtr (John Ferlan)
- conf: Introduce {default|chardev}_tls_x509_secret_uuid (John Ferlan)
- xl: fix 8126d870 broken test (Cédric Bosdonnat)
- spec: Drop support for Fedora < 23 (Andrea Bolognani)
- xl: don't output (null) target in domxml-to-native (Cédric Bosdonnat)
- qemu_command: create prefixed alias to separate variable (Pavel Hrdina)
- qemu_alias: introduce qemuAliasChardevFromDevAlias helper (Pavel Hrdina)
- qemu: Remove unnecessary NULL arg check (John Ferlan)
- qemu: Add 'verify-peer=yes' test for chardev TCP TLS (John Ferlan)
- qemu: Remove unnecessary cfg fetch/unref (John Ferlan)
- conf: Explain some code in more detail (Andrea Bolognani)
- conf: restrict what type of buses will accept a pci-bridge (Laine Stump)
- conf: Honour flags in virDomainPanicDefParseXML (Martin Kletzander)
- schema: Allow alias for panic device (Martin Kletzander)
- qemu_hotplug: Support interface type of vhost-user hotplug (Michal Privoznik)
- qemuBuildHostNetStr: Support VIR_DOMAIN_NET_TYPE_VHOSTUSER (Michal Privoznik)
- qemuBuildVhostuserCommandLine: Unify -netdev creation (Michal Privoznik)
- qemuBuildVhostuserCommandLine: Reuse qemuBuildChrChardevStr (Michal Privoznik)
- qemuBuildChrChardevStr: Introduce @nowait argument (Michal Privoznik)
- qemuBuildHostNetStr: Explicitly enumerate net types (Michal Privoznik)
- qemuDomainAttachNetDevice: Explicitly list allowed types for hotplug (Michal Privoznik)
- qemuDomainAttachNetDevice: Move hostdev handling a bit further (Michal Privoznik)
- qemuBuildInterfaceCommandLine: Move from if-else forest to switch (Michal Privoznik)
- qemuBuildInterfaceCommandLine: Move vhostuser handling a bit further (Michal Privoznik)
- qemuBuildInterfaceCommandLine: Move hostdev handling a bit further (Michal Privoznik)
- virDomainNetGetActualType: Return type is virDomainNetType (Michal Privoznik)
- virDomainNetDefParseXML: Realign (Michal Privoznik)
- qemu: command: Don't bother reporting errors in smbios formatters (Peter Krempa)
- qemu: command: Fix up coding style of smbios commandine formatters (Peter Krempa)
- src: Treat PID as signed (Michal Privoznik)
- virsh: Be explicit that vol-resize is an offline operation. (Ivan Baldo)
- testOpenDefault: Rename loop variable (Michal Privoznik)
- qemu_command: add support to use virtio as secondary video device (Pavel Hrdina)
- qemu_command: introduce enum of secondary models for video device (Pavel Hrdina)
- qemu_command: cleanup qemuBuildVideoCommandLine (Pavel Hrdina)
- qemu_command: properly detect which model to use for video device (Pavel Hrdina)
- qemu_capabilities: check for existence of virtio-vga (Pavel Hrdina)
- qemu_command: pass only video device to qemuBuildVgaVideoCommand (Pavel Hrdina)
- qemu_command: separate code for video device via -vga attribute (Pavel Hrdina)
- qemu_process: always check capabilities for video devices (Pavel Hrdina)
- qemu_process: move video validation out of qemu_command (Pavel Hrdina)
- qemu_domain: move video validation out of qemu_command (Pavel Hrdina)
- qemu_capabilities: detect properties for virtio-gpu-device (Pavel Hrdina)
- qemu_capabilities: rename QEMU_CAPS_VIRTIO_GPU_VIRGL (Pavel Hrdina)
- qemu_capabilities: mark QEMU_CAPS_VGA_QXL capability as deprecated (Pavel Hrdina)
- qemu_capabilities: join capabilities for qxl and qxl-vga devices (Pavel Hrdina)
- tests: fix some QXL capability combinations that don't make sense (Pavel Hrdina)
- qemu_command: remove xenner leftover from video device code (Pavel Hrdina)
- qemu_process: move qemuProcessStartValidateGraphics to correct place (Pavel Hrdina)
- virsh: Extract fallback handling in cmdVcpuinfo (Peter Krempa)
- virsh: Extract cpumap formatting in cmdVcpuinfo (Peter Krempa)
- virsh: domain: Fix broken indentation in virshCPUCountCollect (Peter Krempa)
- util: bitmap: Make bitmaps const in virBitmapNewData and virBitmapDataToString (Peter Krempa)
- libvirt-guests: Weaken dependency on libvirtd (Andrea Bolognani)
- qemu: Disable migration with ivshmem (Martin Kletzander)
- conf: Don't complicate find loop (Martin Kletzander)
- Clean timer in virObjectEventStateFlush (Martin Kletzander)
- De-duplicate code into virObjectEventStateCleanupTimer() (Martin Kletzander)
- Reference state when using it as opaque (Martin Kletzander)
- Change virDomainEventState to virObjectLockable (Martin Kletzander)
- qemu: Reuse virDomainDeGetVcpusTopology to calculate total vcpu count (Peter Krempa)
- conf: Sanitize cpu topology numbers (Peter Krempa)
- util: Remove need for local 'nelems' (John Ferlan)
- tests: Prefer virGetLastErrorMessage in testSELinuxLabeling (John Ferlan)
- conf: Remove incorrect check when encoding shmem audit message (John Ferlan)
- network: add dnsmasq option 'dhcp-authoritative' (Martin Wilck)
- Don't update timer if there's none. (Martin Kletzander)
- examples: Distribute all systemtap scripts. (Luyao Huang)
- virlog: Split parsing and setting priority (Erik Skultety)
- virlog: Remove functions that aren't used anywhere anymore (Erik Skultety)
- daemon: Split filter parsing and filter defining (Erik Skultety)
- daemon: Split output parsing and output defining (Erik Skultety)
- virlog: Introduce virLogSetFilters (Erik Skultety)
- virlog: Introduce virLogSetOutputs (Erik Skultety)
- virlog: Introduce virLogParseFilters (Erik Skultety)
- virlog: Introduce virLogParseOutputs (Erik Skultety)
- virlog: Introduce virLogParseFilter (Erik Skultety)
- virlog: Introduce virLogParseOutput (Erik Skultety)
- virlog: Take a special care of syslog when setting new set of log outputs (Erik Skultety)
- virlog: Introduce virLogNewOutputTo* as a replacement for virLogAddOutputTo* (Erik Skultety)
- virlog: Introduce virLogDefineFilters (Erik Skultety)
- virlog: Introduce virLogDefineOutputs (Erik Skultety)
- virlog: Introduce virLogFindOutput (Erik Skultety)
- virlog: Introduce virLogFilterNew (Erik Skultety)
- virlog: Introduce virLogOutputNew (Erik Skultety)
- virlog: Store the journald fd within the output object (Erik Skultety)
- virlog: Rename virLogParse* to virLogParseAndDefine* (Erik Skultety)
- virlog: Remove unused macro IS_SPACE (Erik Skultety)
- virsh domdisplay: introduce '--all' for showing all possible graphical displays (Chen Hanxiao)
- util: Check/ignore already disabled event (John Ferlan)
- util: Clear up some perf error messages (John Ferlan)
- private_syms: add virLogFilterListFree to libvirt_private.syms (Erik Skultety)
- m4: Drop PKG_PROG_PKG_CONFIG compatibility code (Andrea Bolognani)
- docs/Makefile.am: build hvsupport.html earlier (Ján Tomko)
- docs/Makefile.am: remove redundant variables (Ján Tomko)
- qemu: monitor: Simplify construction of chardev backends (Peter Krempa)
- tests: qemumonitorjsontest: Do some actual testing in qemuMonitorJSONTestAttachChardev (Peter Krempa)
- tests: qemumonitorjson: Don't do multiple tests in one virTestRun (Peter Krempa)
- tests: qemu: Add support for testing aguments on monitor verbatim (Peter Krempa)
- conf: Sanitize formatting of UDP chardev source (Peter Krempa)
- conf: Add a formatting macro for all the blkiotune values (John Ferlan)
- qemu: Adjust how supportMaxOptions is used. (John Ferlan)
- qemu: Convert from shorthand to longer throttling names (John Ferlan)
- tests: Add blkdeviotune-max xml2xmltest (John Ferlan)
- include: Update description for <iotune> max params (John Ferlan)
- qemu: allow 32 slots on pcie-expander-bus, not just 1 (Laine Stump)
- vsh: Fix warnings in command line completer (Jiri Denemark)
- qemu: Create helper qemuMonitorJSONGetBlockDevDevice (John Ferlan)
- qemu: Create helper qemuMonitorJSONGetBlockDev (John Ferlan)
- qemu: Create common code for JSON "query-block" call (John Ferlan)
- util: Introduce virJSONValueObjectStealArray (John Ferlan)
- rbd: Move the encryption check in build (John Ferlan)
- rbd: Change to using heap allocated state contexts (John Ferlan)
- rbd: Change virStorageBackendRBDCloseRADOSConn to be static void (John Ferlan)
- qemu: Allow making vcpus hotpluggable with virDomainSetVcpusFlags (Peter Krempa)
- lib: Introduce VIR_DOMAIN_VCPU_HOTPLUGGABLE for virDomainSetVcpusFlags (Peter Krempa)
- Don't drop expired lease while reading custom leases file (Nehal J Wani)
- NSS: Add explicit check to not report expired lease (Nehal J Wani)
- remote: Increase bound limit for virDomainGetBlockIoTune (John Ferlan)
- remote: Fix erroneous usage of constant (John Ferlan)


  thanks everybody for your help with the release, be it patch, docs, raising
issues, commenting, reviewing patches, localizations, etc...

    Enjoy the release !

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the Libvirt-announce mailing list