* Tue Nov 24 2020 Jiri Denemark - 6.6.0-7.1.el8- util: Avoid double free in virProcessSetAffinity (rhbz#1894409) * Mon Oct 12 2020 Jiri Denemark - 6.6.0-7- rpc: gendispatch: handle empty flags (CVE-2020-25637)- rpc: add support for filtering AATTacls by uint params (CVE-2020-25637)- rpc: require write acl for guest agent in virDomainInterfaceAddresses (CVE-2020-25637)- qemu: agent: set ifname to NULL after freeing (CVE-2020-25637)- Add testdata for AMD EPYC 7502 (rhbz#1861703)- cpu_map: Defined and enable EPYC-Rome model (rhbz#1861703)- cputest: Update QEMU data for Ryzen 9 3900X (rhbz#1861703)- cpu_map: Remove monitor feature from EPYC-Rome (rhbz#1861703) * Wed Sep 16 2020 Jiri Denemark - 6.6.0-6- virDomainHostdevSubsysSCSIiSCSIClear: Inline contents into only caller (rhbz#1876467)- virDomainStorageNetworkParseHosts: Switch to a more modern XML parsing approach (rhbz#1876467)- virDomainHostdevSubsysSCSIHostDefParseXML: Switch to a more modern XML parsing approach (rhbz#1876467)- qemuxml2argvtest: hostdev-scsi-virtio-scsi: Add hostdev with useralias (rhbz#1876467)- conf: Add virStorageSource member for SCSI host device config data (rhbz#1876467)- tests: qemustatusxml2xmldata: Rename \'disk-secinfo-upgrade\' case to \'upgrade\' (rhbz#1876467)- tests: qemustatusxml2xmldata: Add local SCSI hostdev to \'upgrade\' case (rhbz#1876467)- qemu: domain: Fill in (i)SCSI backend nodename if it is not present in status XML (rhbz#1876467)- qemuBuildHostdevSCSI(A|De)tachPrepare: Use virStorageSource in def for SCSI hostdevs (rhbz#1876467)- qemuBlockStorageSourceAttachData: remove \'storageNodeNameCopy\' (rhbz#1876467)- qemu: domain: Extract preparation of hostdev specific data to a separate function (rhbz#1876467)- qemuDomainSecretHostdevPrepare: remove (rhbz#1876467)- qemuDomainPrepareHostdev: Allocate backend nodenames in the prepare function (rhbz#1876467)- qemuDomainPrepareHostdev: base hostdev secret object names on backend alias (rhbz#1876467)- qemuDomainPrepareHostdev: Don\'t base backend nodename on device alias (rhbz#1876467)- qemuxml2argvtest: hostdev-scsi-virtio-scsi: Use longer user-alias for SCSI hostdev (rhbz#1876467)- qemustatusxml2xml: backup-pull: Test private data formatting/parsing (rhbz#1870488)- qemu: backup: Remove note that TLS should be implemented (rhbz#1870488)- qemu: backup: Write TLS cert and secret object aliases into status XML (rhbz#1870488)- qemuxml2argvtest: hostdev-scsi-virtio-scsi: Add to one of the iSCSI hostdevs (rhbz#1868856)- qemuBuildHostdevSCSIAttachPrepare: Propagate \'readonly\' flag also for iSCSI (rhbz#1868856) * Mon Sep 14 2020 Jiri Denemark - 6.6.0-5- qemu: Do not error out when setting affinity failed (rhbz#1819801)- qemu: Fix comment in qemuProcessSetupPid (rhbz#1819801)- Do not report error when setting affinity is allowed to fail (rhbz#1819801)- qemu: Allow setting affinity to fail and don\'t report error (rhbz#1819801)- qemu: snapshot: Collect \'query-named-block-nodes\' prior to memory migration (rhbz#1862472)- check for NULL before calling g_regex_unref (rhbz#1876907)- virsh: cmdScreenshot: fix cbdata passing to virshStreamSink (rhbz#1875195)- qemu: Do not silently allow non-available timers on non-x86 systems (rhbz#1754887)- qemuFirmwareFillDomain: Fill NVRAM template on migration too (rhbz#1852910)- virnuma: Report error when NUMA -> CPUs translation fails (rhbz#1724866)- virnuma: Use numa_nodes_ptr when checking available NUMA nodes (rhbz#1876956)- conf: properly clear out autogenerated macvtap names when formatting/parsing (rhbz#1872611)- util: replace macvtap name reservation bitmap with a simple counter (rhbz#1837395)- util: assign tap device names using a monotonically increasing integer (rhbz#1837395)- util: virNetDevTapCreate: initialize fd to -1 (rhbz#1837395) * Mon Aug 31 2020 Jiri Denemark - 6.6.0-4- vircgroupv2devices: fix counting entries in BPF map (rhbz#1833321)- qemu: fix crash in qemuDomainSetBlkioParameters without cgroups (rhbz#1808293)- RNG: Allow interleaving of /domain/cpu/numa/cell children (rhbz#1786303) * Mon Aug 31 2020 Jiri Denemark - 6.6.0-3- virdevmapper: Don\'t cache device-mapper major (rhbz#1867527)- virdevmapper: Handle kernel without device-mapper support (rhbz#1867527)- virdevmapper: Ignore all errors when opening /dev/mapper/control (rhbz#1867527)- numa_conf: Properly check for caches in virDomainNumaDefValidate() (rhbz#1786303)- virfdstream: Use g_autofree in virFDStreamThreadDoRead() (rhbz#1852528)- virFDStreamMsgQueuePush: Clear pointer to passed message (rhbz#1852528)- virfdstream: Use autoptr for virFDStreamMsg (rhbz#1852528)- virfdstream: Use g_new0() instead of VIR_ALLOC() (rhbz#1852528)- virfdstream: Use VIR_AUTOCLOSE() (rhbz#1852528)- virfdstream: Drop some needless labels (rhbz#1852528)- libvirt-storage: Document volume upload/download stream format (rhbz#1852528)- virsh: Pass virshStreamCallbackDataPtr to virshStreamSink() and virshStreamSkip() (rhbz#1852528)- virsh: Track if vol-upload or vol-download work over a block device (rhbz#1852528)- virshStreamSkip: Emulate skip for block devices (rhbz#1852528)- virfdstream: Allow sparse stream vol-download (rhbz#1852528)- virshStreamInData: Handle block devices (rhbz#1852528)- virfdstream: Emulate skip for block devices (rhbz#1852528)- virnuma: Don\'t work around numa_node_to_cpus() for non-existent nodes (rhbz#1860231) * Wed Aug 05 2020 Jiri Denemark - 6.6.0-2- util: Fix logic in virFileSetCOW (rhbz#1866157) * Tue Aug 04 2020 Jiri Denemark - 6.6.0-1- Rebased to libvirt-6.6.0 (rhbz#1809677)- The rebase also fixes the following bugs: rhbz#1854372, rhbz#1602328, rhbz#1745059, rhbz#1786303, rhbz#1799010 rhbz#1814573, rhbz#1821694, rhbz#1822631, rhbz#1829829, rhbz#1840053 rhbz#1851016, rhbz#1852311, rhbz#1852741, rhbz#1854684, rhbz#1857204 rhbz#1857735, rhbz#1857967, rhbz#1858260, rhbz#1860875 * Thu Jul 09 2020 Jiri Denemark - 6.5.0-1- Rebased to libvirt-6.5.0 (rhbz#1809677)- The rebase also fixes the following bugs: rhbz#1432902, rhbz#1634829, rhbz#1640869, rhbz#1739221, rhbz#1823639 rhbz#1826543, rhbz#1829543, rhbz#1829544, rhbz#1829545, rhbz#1837990 rhbz#1838975, rhbz#1840307, rhbz#1845012, rhbz#1847234, rhbz#1847259 rhbz#1847791, rhbz#1849516 * Tue Jun 02 2020 Jiri Denemark - 6.4.0-1- Rebased to libvirt-6.4.0 (rhbz#1809677)- The rebase also fixes the following bugs: rhbz#1235511, rhbz#1769598, rhbz#1839926, rhbz#1778819, rhbz#1783355 rhbz#1813306, rhbz#1820040, rhbz#1822878, rhbz#1825785, rhbz#1829550 rhbz#1832710 * Tue May 05 2020 Jiri Denemark - 6.3.0-1- Rebased to libvirt-6.3.0 (rhbz#1809677)- The rebase also fixes the following bugs: rhbz#1823309, rhbz#1229255, rhbz#1499880, rhbz#1557902, rhbz#1761678 rhbz#1772838, rhbz#1791522, rhbz#1793705, rhbz#1811906, rhbz#1812100 rhbz#1812827, rhbz#1813310, rhbz#1820376, rhbz#1821988, rhbz#1822538 rhbz#1824368, rhbz#1826652, rhbz#1826746 * Fri Apr 03 2020 Jiri Denemark - 6.2.0-1- Rebased to libvirt-6.2.0 (rhbz#1809677)- The rebase also fixes the following bugs: rhbz#1460920, rhbz#1591411, rhbz#1727263, rhbz#1750219, rhbz#1781913 rhbz#1785091, rhbz#1791236, rhbz#1813852, rhbz#1817831, rhbz#1466177 rhbz#1515677, rhbz#1592273, rhbz#1611061, rhbz#1639596, rhbz#1724928 rhbz#1784040, rhbz#1793036, rhbz#1810857, rhbz#1812531, rhbz#1813306 rhbz#1814481, rhbz#1814486, rhbz#1814975, rhbz#1816037, rhbz#1817381 rhbz#1817955, rhbz#1818030 * Fri Mar 20 2020 Jiri Denemark - 6.0.0-14- qemu: Don\'t crash when getting targets for a multipath (rhbz#1814947)- virSecretLookupDefCopy: Remove return value (rhbz#1814923)- virStorageEncryptionSecretCopy: Properly copy internals (rhbz#1814923)- vmx: shortcut earlier few \'ignore\' cases in virVMXParseDisk() (rhbz#1808610)- vmx: make \'fileName\' optional for CD-ROMs (rhbz#1808610) * Wed Mar 18 2020 Jiri Denemark - 6.0.0-13- qemu: Create multipath targets for PRs (rhbz#1814157) * Tue Mar 17 2020 Jiri Denemark - 6.0.0-12- qemuBlockBitmapsHandleCommitStart: Fix allocation of string list (rhbz#1799013)- qemuBlockBitmapsHandleCommitFinish: Use proper variable to iterate (rhbz#1799013)- qemublocktest: Add tests for re-enabling of bitmaps after commit (rhbz#1799013) * Tue Mar 17 2020 Jiri Denemark - 6.0.0-11- virbuftest: remove extra G_GNUC_UNUSED markers (rhbz#1808499)- virbuftest: use g_autofree (rhbz#1808499)- virbuftest: remove unnecessary labels (rhbz#1808499)- virbuftest: declare testBufAddStrData earlier (rhbz#1808499)- virbuftest: use field names when initalizing test info (rhbz#1808499)- util: add virBufferTrimChars (rhbz#1808499)- conf: do not generate machine names ending with a dash (rhbz#1808499)- conf: Don\'t generate machine names with a dot (rhbz#1808499)- qemuAgentFSInfoFormatParams: Remove pointless returned value (rhbz#1812965)- qemuDomainGetGuestInfo: Don\'t try to free a negative number of entries (rhbz#1812965)- qemuDomainBlockPivot: Move check prior to executing the pivot steps (rhbz#1803092)- qemuDomainBlockCopyCommon: Record updated flags to block job (rhbz#1803092)- qemu: capabilities: Introduce QEMU_CAPS_BLOCKDEV_SNAPSHOT_ALLOW_WRITE_ONLY (rhbz#1803092)- qemu: blockcopy: Allow late opening of the backing chain of a shallow copy (rhbz#1803092)- qemuBlockStorageSourceDetachPrepare: Get rid of cleanup section (rhbz#1804750)- qemu: Don\'t take double pointer in qemuDomainSecretInfoFree (rhbz#1804750)- qemuMigrationParamsResetTLS: Adapt to modern memory management (rhbz#1804750)- qemuMigrationParamsResetTLS: Fix comment (rhbz#1804750)- qemuDomainSecretInfo: Register autoptr cleanup function (rhbz#1804750)- qemuDomainSecretAESSetup: Automatically free non-secret locals (rhbz#1804750)- qemuDomainSecretAESSetup: Allocate and return \'secinfo\' here (rhbz#1804750)- qemuDomainSecretAESSetup: Split out lookup of secret data (rhbz#1804750)- Remove qemuDomainSecretInfoNew (rhbz#1804750)- qemu: Introduce another helper for creating alias for a \'secret\' object (rhbz#1804750)- qemuDomainSecretStorageSourcePrepare: Fix naming of alias variables (rhbz#1804750)- qemuDomainDeviceDiskDefPostParseRestoreSecAlias: Hardcode restored aliases (rhbz#1804750)- qemu: Split out initialization of secrets for \'iscsi\' hostdevs (rhbz#1804750)- qemuDomainSecretAESSetupFromSecret: Use \'qemuAliasForSecret\' (rhbz#1804750)- qemuDomainSecretStorageSourcePrepare: Change aliases for disk secrets (rhbz#1804750)- qemuDomainGetSecretAESAlias: Replace outstanding uses with qemuAliasForSecret (rhbz#1804750)- conf: Add support for modifying ssl validation for https/ftps disks (rhbz#1804750)- conf: Add support for cookies for HTTP based disks (rhbz#1804750)- conf: Add support for setting timeout and readahead size for network disks (rhbz#1804750)- qemuDomainValidateStorageSource: Validate new network storage parameters (rhbz#1804750)- qemuxml2argvtest: Add test case for disks with http(s) source (rhbz#1804750)- qemu: block: Implement ssl verification configuration (rhbz#1804750)- qemu: domain: Store data for \'secret\' object representing http cookies (rhbz#1804750)- qemuDomainSecretStorageSourcePrepare: Setup secret for http cookies (rhbz#1804750)- qemu: Handle hotplug and commandline for secret objects for http cookies (rhbz#1804750)- qemu: block: Add support for HTTP cookies (rhbz#1804750)- qemu: block: Implement readahead and timeout properties for \'curl\' driver (rhbz#1804750)- virstoragefile: Add JSON parser for \'sslverify\', \'readahead\', \'cookies\' and \'timeout\' (rhbz#1804750)- virStorageSourceParseBackingJSONUri: Handle undocumented value \'off\' for sslverify (rhbz#1804750)- qemublocktest: Load QMP schema earlier (rhbz#1804750)- qemublocktest: Extract schema root for blockdev-add validation (rhbz#1804750)- qemublocktest: XMLjsonXML: Test formatting/parsing of modern JSON (rhbz#1804750)- qemublocktest: Add JSON->JSON test cases for block device backends (rhbz#1804750)- qemu: Pass through arguments of \'ssh\' block driver used by libguestfs (rhbz#1804750)- qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_REOPEN (rhbz#1799013)- qemu: monitor: Add handler for blockdev-reopen (rhbz#1799013)- qemu: block: implement helpers for blockdev-reopen (rhbz#1799013)- qemuCheckpointDiscardBitmaps: Reopen images for bitmap modifications (rhbz#1799013)- qemuCheckpointDiscardBitmaps: Use correct field for checkpoint bitmap name (rhbz#1799013)- qemuDomainBlockCommit: Move checks depending on capabilities after liveness check (rhbz#1799013)- qemu: domain: Extract formatting of \'commit\' blockjob data into a function (rhbz#1799013)- qemu: domain: Extract parsing of \'commit\' blockjob data into a function (rhbz#1799013)- qemu: blockjob: Store list of bitmaps disabled prior to commit (rhbz#1799013)- qemublocktest: Fix and optimize fake image chain (rhbz#1799013)- qemu: block: Implement helpers for dealing with bitmaps during block commit (rhbz#1799013)- qemublocktest: Add tests for handling of bitmaps during block-commit (rhbz#1799013)- qemublocktest: Add more tests for block-commit bitmap handling with snapshots (rhbz#1799013)- qemublocktest: Add tests of broken bitmap chain handling during block-commit (rhbz#1799013)- qemuBlockJobDiskNewCommit: Propagate \'disabledBitmapsBase\' (rhbz#1799013)- qemuDomainBlockCommit: Handle bitmaps on start of commit (rhbz#1799013)- qemuDomainBlockPivot: Handle merging of bitmaps when pivoting an active block-commit (rhbz#1799013)- qemu: blockjob: Handle bitmaps after finish of normal block-commit (rhbz#1799013)- qemu: blockjob: Re-enable bitmaps after failed block-commit (rhbz#1799013)- qemuDomainGetGuestInfo: don\'t assign NULL hostname (rhbz#1812965)- rhel: Enable usage of x-blockdev-reopen (rhbz#1799013) * Tue Mar 10 2020 Jiri Denemark - 6.0.0-10- security: Introduce VIR_SECURITY_DOMAIN_IMAGE_PARENT_CHAIN_TOP flag (rhbz#1803551)- qemu: Tell secdrivers which images are top parent (rhbz#1803551)- virDomainDiskTranslateSourcePool: Check for disk type correctly (rhbz#1811728) * Fri Mar 06 2020 Jiri Denemark - 6.0.0-9- conf: use virXMLFormatElement in virDomainFSDefFormat (rhbz#1694166)- qemu: use def instead of vm->def in qemuExtDevicesStart (rhbz#1694166)- qemu: eliminate ret in qemuExtDevicesStart (rhbz#1694166)- docs: render class=\"literal\" with monospace font (rhbz#1694166)- docs: reduce excessive spacing in ToC for RST files (rhbz#1694166)- virDomainFSDefFree: Unref private data (rhbz#1694166)- schema: wrap fsDriver in a choice group (rhbz#1694166)- qemuExtDevicesStart: pass logManager (rhbz#1694166)- qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup (rhbz#1694166)- qemuxml2xmltest: set driver as privileged (rhbz#1694166)- qemu: add QEMU_CAPS_DEVICE_VHOST_USER_FS (rhbz#1694166)- docs: add virtiofs kbase (rhbz#1694166)- conf: qemu: add virtiofs fsdriver type (rhbz#1694166)- conf: add virtiofs-related elements and attributes (rhbz#1694166)- qemu: add virtiofsd_debug to qemu.conf (rhbz#1694166)- qemu: validate virtiofs filesystems (rhbz#1694166)- qemu: forbid migration with vhost-user-fs device (rhbz#1694166)- qemu: add code for handling virtiofsd (rhbz#1694166)- qemu: put virtiofsd in the emulator cgroup (rhbz#1694166)- qemu: use the vhost-user schemas to find binary (rhbz#1694166)- qemu: build vhost-user-fs device command line (rhbz#1694166)- RHEL: virscsi: Check device type before getting it\'s /dev node name (rhbz#1808390)- RHEL: virscsi: Support TAPEs in virSCSIDeviceGetDevName() (rhbz#1808390)- RHEL: virscsi: Introduce and use virSCSIDeviceGetUnprivSGIOSysfsPath() (rhbz#1808390)- RHEL: virutil: Accept non-block devices in virGetDeviceID() (rhbz#1808390)- RHEL: qemuSetUnprivSGIO: Actually use calculated AATTsysfs_path to set unpriv_sgio (rhbz#1808390)- RHEL: qemuCheckUnprivSGIO: use AATTsysfs_path to get unpriv_sgio (rhbz#1808400) * Thu Mar 05 2020 Jiri Denemark - 6.0.0-8- util: storagefile: Drop image format probing by file suffix (rhbz#1798148)- virStorageFileGetMetadataRecurse: Remove impossible error report (rhbz#1798148)- virStorageFileGetMetadataRecurse: Shuffle around assignment of backing chain depth (rhbz#1798148)- virStorageFileGetMetadataRecurse: Expect NULL src->path (rhbz#1798148)- virStorageFileGetMetadataRecurse: Use virHashHasEntry instead of fake pointers (rhbz#1798148)- virStorageFileGetMetadataRecurse: Extract storage access (rhbz#1798148)- virStorageFileGetMetadataRecurse: Remove \'cleanup\' label (rhbz#1798148)- tests: virstorage: Fix backing file format of created image (rhbz#1798148)- virStorageSourceUpdateCapacity: Drop \'probe\' argument (rhbz#1798148)- util: storage: Store backing store format in virStorageSource (rhbz#1798148)- virStorageSourceNewFromBacking: Also transfer the format (rhbz#1798148)- virStorageBackendGlusterRefreshVol: Refactor handling of backing store (rhbz#1798148)- virStorageFileGetMetadataFromBuf: Remove \'backingFormat\' argument (rhbz#1798148)- virStorageFileGetMetadataFromFD: Remove unused \'backingFormat\' argument (rhbz#1798148)- qemu: domain: Convert detected \'iso\' image format into \'raw\' (rhbz#1798148)- virStorageFileGetMetadataRecurse: Allow format probing under special circumstances (rhbz#1798148)- kbase: backing_chains: Clarify some aspects of image probing (rhbz#1798148)- kbase: backing_chains: Add steps how to securely probe image format (rhbz#1798148) * Tue Feb 25 2020 Jiri Denemark - 6.0.0-7- docs: fix a typo (rhbz#1805742)- virDomainNetDefClear: Free AATTpersistent name (rhbz#1805742)- virSecurityManagerMetadataLock: Store locked paths (rhbz#1804672)- security: Don\'t remember seclabel for paths we haven\'t locked successfully (rhbz#1804672)- security: Don\'t fail if locking a file on NFS mount fails (rhbz#1804672) * Fri Feb 21 2020 Jiri Denemark - 6.0.0-6- qemuBlockStorageSourceGetBackendProps: Report errors on all switch cases (rhbz#1804603)- virDomainDiskAddISCSIPoolSourceHost: Sanitize handling of string list (rhbz#1804603)- virDomainDiskAddISCSIPoolSourceHost: use g_new0 instead of VIR_ALLOC_N (rhbz#1804603)- virDomainDiskAddISCSIPoolSourceHost: Remove \'cleanup\' label (rhbz#1804603)- virDomainDiskAddISCSIPoolSourceHost: Remove ternary operator (rhbz#1804603)- virDomainDiskAddISCSIPoolSourceHost: Take virStorageSourcePtr instead of virDomainDiskDefPtr (rhbz#1804603)- virDomainDiskTranslateSourcePoolAuth: Take virStorageSourcePtr instead of virDomainDiskDefPtr (rhbz#1804603)- virDomainDiskTranslateISCSIDirect: Take virStorageSourcePtr instead of virDomainDiskDefPtr (rhbz#1804603)- virDomainDiskTranslateSourcePool: split code to setup one storage source (rhbz#1804603)- virDomainDiskTranslateSourcePool: Translate \'volume\' disks in whole backing chain (rhbz#1804603)- qemuMonitorJSONBlockdevAdd: Refactor cleanup (rhbz#1798366)- qemuMonitorJSONBlockdevDel: Refactor cleanup (rhbz#1798366)- qemuMonitorBlockdevAdd: Take double pointer argument (rhbz#1798366)- qemu: hotplug: Fix handling of the \'copy-on-read\' layer with blockdev (rhbz#1798366)- virStorageSourceParseBackingJSON: Pass around original backing file string (rhbz#1791788)- virStorageSourceParseBackingJSON: Move deflattening of json: URIs out of recursion (rhbz#1791788)- virStorageSourceJSONDriverParser: annotate \'format\' drivers (rhbz#1791788)- virStorageSourceParseBackingJSON: Allow \'json:\' pseudo URIs without \'file\' wrapper (rhbz#1791788)- virStorageSourceParseBackingJSON: Prevent arbitrary nesting with format drivers (rhbz#1791788)- tests: virstorage: Add test cases for \"json:\" pseudo-URI without \'file\' wrapper (rhbz#1791788)- qemu: domain: Refactor formatting of node names into status XML (rhbz#1791788)- docs: formatdomain: Close