public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] libvirt: Update to version 11.4.0
@ 2025-06-19 20:20 Adolf Belka
  2025-06-19 20:20 ` [PATCH] qemu-ga: Update to version 10.0.2 Adolf Belka
  2025-06-19 20:20 ` [PATCH] qemu: " Adolf Belka
  0 siblings, 2 replies; 3+ messages in thread
From: Adolf Belka @ 2025-06-19 20:20 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- Update from version 10.10.0 to 11.4.0
- Update of rootfile
- Changelog
    11.4.0
      New features
        qemu: ppc64 POWER11 processor support
        Support for the recently released IBM POWER11 processor was added.
      Packaging changes
        All helper programs are now detected from $PATH during runtime
        All of the code was now converted to dynamically look up helper programs in
	 $PATH rather than doing the lookup at build time and then compiling in the
	 result.
        Programs mount, umount, mkfs, modprobe, rmmod, numad, dmidecode, ip, tc,
	 mdevctl, mm-ctl, iscsiadm, ovs-vsctl, pkttyagent, bhyveload, bhyvectl, bhyve,
	 ifconfig, vzlist, vzctl, vzmigrate, and the tools from the lvm suite
	 (vgchange, lvcreate, etc..) are now not needed during build and will still
	 work properly if placed in $PATH.
        This also ensures that libvirt works correctly on distros that are
	 transitioning /sbin into /bin and upgraded installations have a different
	 layout from fresh installations.
      Improvements
        virsh: Add option --no-pkttyagent
        That option suppresses registration of pkttyagent with polkitd.
        bhyve: support NVRAM configuration for UEFI firmwares
        The bhyve driver now supports specifying NVRAM store file, such as:
	        <os firmware='efi'>
	          <nvram/>
	        </os>
        qemu: Improve accuracy of FDC/floppy device support statement in capabilities XML
        The data is now based on the presence of the controller in qemu rather than
	 just a denylist of machine types where floppies not work.
      Bug fixes
        qemu: Fix failure when reverting to internal snapshots
        A regression in libvirt-11.2 and libvirt-11.3 prevents reverting to an
	 internal snapshot. Attempts to revert would produce the following error:
         error: operation failed: load of internal snapshot 'foo1' job failed: Device
	 'libvirt-1-format' is writable but does not support snapshots
         The only workaround is to avoid the broken versions.
        qemu: Fix virtqemud crash when resuming failed post-copy migration
         A regression introduced in libvirt-11.2.0 caused virtqemud on the destination
	 host to crash when trying to resume failed post-copy migration.
        qemu: Treat the queues configuration of virtio-net as guest ABI
         The queue count itself isn't a device frontend property but libvirt uses it to
	 calculate vectors option of the device which is a guest OS visible property,
	 thus queues must not change during migration. The ABI stability check now
	 handles this properly.
    11.3.0
      Removed features
        Support for AppArmor versions prior to 3.0.0 has been dropped.
      New features
        xen: Support configuration of <hyperv/> flags for Xen domains.
        The following flags are now configurable for Xen: vapic, synic, stimer,
	 frequencies, tlbflush and ipi.
        bhyve: Support virtio random number generator devices
        Domain XMLs can now include virtio random number generator devices. They are
	 configured with:
	        <rng model='virtio'>
	          <backend model='random'/>
	        </rng>
        bhyve: Support <interface type='network'>
        At the moment it doesn't provide any new features compared to
	 <interface type='bridge'>, but allows a more flexible configuration.
      Bug fixes
        cpu_map: Install Ampere-1 ARM CPU models
        The Ampere-1 CPU models added in the previous release were not properly
	 installed and thus every attempt to start an ARM domain with custom CPU
	 definition would fail.
        storage: Fix new volume creation
        No more errors occur when new storage volume is being created using virsh
	 vol-create with --validate option and/or virStorageVolCreateXML() with
	 VIR_VOL_XML_PARSE_VALIDATE flag.
        Don't spam logs with error about qemu-rdp when starting a qemu VM
        On hosts where the qemu-rdp binary is not installed a start of a VM would
	 cause an error such as
         error : qemuRdpNewForHelper:103 : 'qemu-rdp' is not a suitable qemu-rdp helper
	 name: No such file or directory
         to be logged in the system log. It is safe to ignore the error. The code was
	 fixed to avoid the message when probing for support.
        Fix libvirt daemon crash on failure to hotplug a disk into a qemu VM
        Some failures of disk hotplug could cause the libvirt daemon to crash due to a
	 bug when rolling back disk throttling filters.
    11.2.0
      Removed features
        Remove support for qemu-6.1 and older
        Libvirt now requires qemu-6.2 or newer based on our platform support policy.
      New features
        qemu: Add new 'image_format' parameter to virDomainSaveParams
        virDomainSaveParams now supports an image_format parameter for specifying the
	 save image format on a per-domain basis. The parameter accepts the same
	 values as the driver-wide save_image_format setting in qemu.conf. An image
	 format specified via virDomainSaveParams takes precedence over the
	 driver-wide setting.
        qemu: Added guest load averages to the output of virDomainGetGuestInfo
        This feature will be available with qemu guest agent 10.0 onwards.
        qemu: Add support for multiple iothreads for virtio-scsi controller
        It's now possible to map multiple iothreads to the virtio-scsi controller or
	 even map them to specific virtqueues similarly to the virtio-blk device
	 allowing for better performance in certain scenarios.
        qemu: integrate support for VM shutdown on host shutdown
        It is now possible to instruct the QEMU driver to automatically perform
	 managed save, graceful shutdown, or hard poweroff on running VMs, when a host
	 shutdown is requested. This feature is intended to eventually replace usage
	 of the libvirt-guests script. The new approach improves on the libvirt-guests
	 script, by proactively monitoring logind for a signal that a host shutdown
	 has been requested. It will initiate the chosen action on running guests
	 immediately, allowing shutdown inhibitors to be released sooner. The new
	 solution is also able to iteratively try multiple actions until one of them
	 succeeds in shutting down the VM.
        Since it must be mutually exclusive with the libvirt-guests script, this
	 feature currently requires a manual opt-in through editing of the
	 /etc/libvirt/qemu.conf configuration file. The libvirt-guests script must be
	 disabled before doing this.
        qemu: Add 'sparse' as a new save image format
        QEMU's file migration has been supplemented with the new stream format
	 mapped-ram, where RAM pages are mapped directly to offsets in the migration
	 file. mapped-ram is now supported by augmenting the existing save image
	 formats with the sparse format.
        qemu: Add support for parallel save/restore
        The sparse image format can support reading and writing by multiple channels.
	 virDomainSaveParams and virDomainRestoreParams now support specifying the
	 number of IO channels used for parallel save and restore. Using multiple
	 channels can reduce the time required to save and restore domains.
        virsh: Introduce new hypervisor-cpu-models command
        Added a new virsh command hypervisor-cpu-models. The command pulls from the
	 existing domcapabilities XML and uses xpath to parse CPU model strings. By
	 default, only models reported as usable by the hypervisor on the host system
	 are printed. A user may specify --all to also print models which are not
	 supported on the host.
        qemu: Introduce os/shim element
        For secure boot environments where <loader/> is signed, it may be unfeasible
	 to keep the binary up to date (esp. when revoking certificates contained
	 within). To address that, new <shim/> element is introduced which allows
	 hypervisor to side load another UEFI binary, which can then contain new
	 certification authorities and/or list of revocations.
        ch: Enable SEV SNP support
        Cloud Hypervisor guests can be now started with SEV SNP enabled.
        qemu: Support for Block Disk Along with Throttle Filters
        Introduce support for multiple throttle groups per block disk in QEMU,
	 enhancing I/O control and performance optimization. This update builds on the
	 existing throttling functionality by allowing more granular control with the
	 ability to assign different throttle groups to multiple block devices,
	 improving shared throttling across devices.
      Improvements
        qemu: Improved guest agent corner case error reporting
        The APIs using the guest agent now report two specific error codes aimed at
	 helping management applications/users to differentiate between timeout while
	 libvirt was synchronizing with the guest agent and timeout after a command
	 was already sent.
        The new error codes are VIR_ERR_AGENT_COMMAND_TIMEOUT and
	 VIR_ERR_AGENT_COMMAND_FAILED.
        qemu: Use common check for shared memory use for vhost-user network devices
        Historically libvirt printed only a warning if the vhost-user network was
	 misconfigured. Since we enforce proper configuration for other device types
	 using vhost-user it is now enforced also for network devices and prints an
	 actual error on misconfiguration.
        Introduce constants for discoverability of entries in bulk stats APIs
        Libvirt introduced constants exposed by our API description XML which allows
	 discoverability of new entries in typed parameter names returned by
	 virConnectGetAllDomainStats, virDomainListGetStats, and virDomainGetGuestInfo.
        qemu: Reflect MAC address change in live domain XML
        When a guest changes MAC address on one of its vNICs the new MAC address is
	 now visible in the live XML under currentAddress attribute of <mac/> element.
	 At the same time, VIR_DOMAIN_EVENT_ID_NIC_MAC_CHANGE event is emitted so that
	 management applications can update their internal state.
      Bug fixes
        qemu: attach virtio-mem with CCW address
        Attaching a virtio-mem device on s390 without an address type now gets a
	 default type CCW address assigned. A specified CCW address is now used for
	 the virtio-mem device instead of getting overwritten by a PCI address.
        ch: Various memory leak fixes
        There were some memory leaks identified in the Cloud Hypervisor driver. They
	 are fixed now.
    11.1.0
      Packaging changes
        De-modularize the 'fs' storage file backend
        The storage file backend for local files uses only code which we compile into
	 the internal libraries anyways so there's no point in having it as a loadable
	 module. The storage-file/libvirt_storage_file_fs.so module no longer exists
	 and its functionality is embedded directly.
      Removed features
        vbox: removed support for version 6.1 APIs
        Libvirt no longer supports use of VirtualBox 6.1 since this version reached
	 its end of life on 2024/01.
      New features
        nodedev: Support ccwgroup based qeth devices
        CCW group devices are devices that use multiple subchannels on the mainframe's
	 channel subsystem. A qeth group device maps to subchannels and their
	 corresponding device numbers and device bus-IDs. The ccwgroup device nodes
	 are placed besides the subchannel nodes under computer and list the group
	 members within a new ccwgroup capability. A new capability ccwgroup_member is
	 added into capability ccw to represent a device membership to a ccwgroup.
	 Filters are added to find ccwgroups as well as ccwgroup members.
        ch: Support handling events from cloud-hypervisor
        The ch driver now supports handling events from the cloud-hypervisor. Events
	 include VM lifecyle operations such as shutdown, pause, resume, etc. Libvirt
	 will now read these events and take actions such as updating domain state, etc.
        Introduce virtio-mem <memory/> model for s390 guests
        The virtio-mem model of <memory/> device can now be used with s390 guests.
        Support using passt as the backend for interface type='vhostuser'
        The combination of vhostuser transport with passt as the backend provides high
	 performance, fully featured networking without the need for libvirt or QEMU
	 to have any elevated privileges or capabilities. Configuration and features
	 are identical to the configuration for type='user' with the passt backend.
      Improvements
        qemu: I/O error messages can be queried via virDomainGetMessages()
        The qemu hypervisor driver now preserves the last I/O error message along with
	 the timestamp when it was recorded and preserves it to be queried via
	 virDomainGetMessages().
      Bug fixes
        tools: ssh-proxy: Check if domain is running before connecting to it
        If domain is not running but has a static CID configured for its VSOCK then
	 the ssh-proxy parsed it anyways. This may have resulted in mistakenly
	 connecting to a different domain. Domain status is checked before parsing its
	 CID.
        apparmor: Allow SGX if configured
        If domain has <memory model='sgx-epc'\> configured then libvirt now adds
	 corresponding devices into a per-domain profile so that AppArmor does not
	 deny QEMU access to them.
        qemu: Fix crash when starting a domain on a host with unknown host CPU
        On hosts where we cannot detect a host CPU model (mostly aarch64 hosts)
	 starting a domain with a custom CPU model caused a crash of virtqemud.
        The bug was introduced in libvirt-10.9.0
    11.0.0
      New features
        network/qemu/lxc: support vlans on standard Linux host bridges
        The network, qemu, and lxc drivers now support (using the <vlan> subelement)
	 vlan tagging and trunking on network interfaces connected to a standard Linux
	 host bridge.
        qemu: Add support for direct and extended tlbflush features
        Domains can now utilise more tlbflush hyperv features.
      Improvements
        ch: Enable user aliases
        User can now specify custom aliases for devices in domain XML
        qemu: Grab a QUERY job when formatting domain XML
        Under some specific conditions it might have happened that domain XML did not
	 contain runtime information or returned an XML that's in process of changing
	 (e.g. by a thread that's hotplugging a device). Formatting domain XML now
	 serializes properly with other threads.
        virtiofs: Allow read only mode
        The <filesystem/> with virtiofsd backend can now use <readonly/> tag to export
	 underlying filesystem in read only mode.
        qemu: allow migration of vGPU from mdev device <-> SRIOV VF device
        Some GPU vendors are switching from using vGPUs creating using mdev and
	 identified with a uuid, to vGPUs created as SRIOV VFs and identified by their
	 PCI address, and want to support live migration from a host using one type of
	 vGPU to the other type. This is now possible.
      Bug fixes
        qemu: tpm: do not update profile name for transient domains
        Fix a possible crash when starting a transient domain which was introduced in
	 the previous release.
        qemu: Fix snapshot to not delete disk image with internal snapshot
        When a VM has internal snapshot that is parent to external snapshot and user
	 reverts to the internal snapshot and deletes the external snapshot libvirt
	 would delete the disk image containing the internal snapshot. This would
	 result in data loss.
        qemu: Do not format invalid XML with hyperv features in passthrough mode
        When hyperv features were specified together with mode="passthrough" libvirt
	 parsed and formatted such features in the domain XML even though they were
	 not used at all, resulting in XML that is not valid based on our schema. This
	 is now fixed by not parsing any specified features when the passthrough mode
	 is used.
        qemu: Fix a crash when starting a domain with ovs bridge and QOS
        cpu: Add missing -v1 variants for CPU models
        Some CPU models (mostly old ones) were missed when versioned CPU model names
	 were introduced in the previous release.
        qemu: Fix false error when recovering failed post-copy migration
        In some cases libvirt would report a failure to recover post-copy migration
	 even though the recovery started just fine and migration would eventually
	 successfully finish.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/libvirt | 37 ++++++++++++++++++++++++++-----
 lfs/libvirt                       |  6 ++---
 2 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/config/rootfiles/packages/libvirt b/config/rootfiles/packages/libvirt
index 55bd39a4e..d265125b0 100644
--- a/config/rootfiles/packages/libvirt
+++ b/config/rootfiles/packages/libvirt
@@ -87,16 +87,16 @@ usr/bin/virt-xml-validate
 #usr/lib/libvirt
 #usr/lib/libvirt-admin.so
 usr/lib/libvirt-admin.so.0
-usr/lib/libvirt-admin.so.0.10010.0
+usr/lib/libvirt-admin.so.0.11004.0
 #usr/lib/libvirt-lxc.so
 usr/lib/libvirt-lxc.so.0
-usr/lib/libvirt-lxc.so.0.10010.0
+usr/lib/libvirt-lxc.so.0.11004.0
 #usr/lib/libvirt-qemu.so
 usr/lib/libvirt-qemu.so.0
-usr/lib/libvirt-qemu.so.0.10010.0
+usr/lib/libvirt-qemu.so.0.11004.0
 #usr/lib/libvirt.so
 usr/lib/libvirt.so.0
-usr/lib/libvirt.so.0.10010.0
+usr/lib/libvirt.so.0.11004.0
 #usr/lib/libvirt/connection-driver
 usr/lib/libvirt/connection-driver/libvirt_driver_ch.so
 usr/lib/libvirt/connection-driver/libvirt_driver_interface.so
@@ -112,7 +112,6 @@ usr/lib/libvirt/storage-backend/libvirt_storage_backend_fs.so
 usr/lib/libvirt/storage-backend/libvirt_storage_backend_logical.so
 usr/lib/libvirt/storage-backend/libvirt_storage_backend_vstorage.so
 #usr/lib/libvirt/storage-file
-usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so
 #usr/lib/pkgconfig/libvirt-admin.pc
 #usr/lib/pkgconfig/libvirt-lxc.pc
 #usr/lib/pkgconfig/libvirt-qemu.pc
@@ -121,7 +120,9 @@ usr/lib/libvirt/storage-file/libvirt_storage_file_fs.so
 usr/lib/sysctl.d/60-libvirtd.conf
 usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
 #usr/lib/sysusers.d
+usr/lib/sysusers.d/libvirt-login-shell.conf
 usr/lib/sysusers.d/libvirt-qemu.conf
+usr/lib/sysusers.d/libvirt.conf
 usr/libexec/libvirt-ssh-proxy
 usr/libexec/libvirt_iohelper
 usr/libexec/virt-login-shell-helper
@@ -220,6 +221,8 @@ usr/sbin/virtstoraged
 #usr/share/doc/libvirt/examples/xml/test/testvol.xml
 #usr/share/libvirt
 #usr/share/libvirt/cpu_map
+usr/share/libvirt/cpu_map/arm_Ampere-1.xml
+usr/share/libvirt/cpu_map/arm_Ampere-1a.xml
 usr/share/libvirt/cpu_map/arm_FT-2000plus.xml
 usr/share/libvirt/cpu_map/arm_Falkor.xml
 usr/share/libvirt/cpu_map/arm_Kunpeng-920.xml
@@ -236,6 +239,7 @@ usr/share/libvirt/cpu_map/arm_features.xml
 usr/share/libvirt/cpu_map/arm_vendors.xml
 usr/share/libvirt/cpu_map/index.xml
 usr/share/libvirt/cpu_map/ppc64_POWER10.xml
+usr/share/libvirt/cpu_map/ppc64_POWER11.xml
 usr/share/libvirt/cpu_map/ppc64_POWER6.xml
 usr/share/libvirt/cpu_map/ppc64_POWER7.xml
 usr/share/libvirt/cpu_map/ppc64_POWER8.xml
@@ -243,6 +247,7 @@ usr/share/libvirt/cpu_map/ppc64_POWER9.xml
 usr/share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
 usr/share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
 usr/share/libvirt/cpu_map/ppc64_vendors.xml
+usr/share/libvirt/cpu_map/x86_486-v1.xml
 usr/share/libvirt/cpu_map/x86_486.xml
 usr/share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml
@@ -259,6 +264,7 @@ usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v3.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v4.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v5.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server.xml
+usr/share/libvirt/cpu_map/x86_Conroe-v1.xml
 usr/share/libvirt/cpu_map/x86_Conroe.xml
 usr/share/libvirt/cpu_map/x86_Cooperlake-v1.xml
 usr/share/libvirt/cpu_map/x86_Cooperlake-v2.xml
@@ -270,6 +276,7 @@ usr/share/libvirt/cpu_map/x86_Denverton.xml
 usr/share/libvirt/cpu_map/x86_Dhyana-v1.xml
 usr/share/libvirt/cpu_map/x86_Dhyana-v2.xml
 usr/share/libvirt/cpu_map/x86_Dhyana.xml
+usr/share/libvirt/cpu_map/x86_EPYC-Genoa-v1.xml
 usr/share/libvirt/cpu_map/x86_EPYC-Genoa.xml
 usr/share/libvirt/cpu_map/x86_EPYC-IBPB.xml
 usr/share/libvirt/cpu_map/x86_EPYC-Milan-v1.xml
@@ -286,6 +293,7 @@ usr/share/libvirt/cpu_map/x86_EPYC-v3.xml
 usr/share/libvirt/cpu_map/x86_EPYC-v4.xml
 usr/share/libvirt/cpu_map/x86_EPYC.xml
 usr/share/libvirt/cpu_map/x86_GraniteRapids-v1.xml
+usr/share/libvirt/cpu_map/x86_GraniteRapids-v2.xml
 usr/share/libvirt/cpu_map/x86_GraniteRapids.xml
 usr/share/libvirt/cpu_map/x86_Haswell-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml
@@ -310,16 +318,23 @@ usr/share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge-v1.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge-v2.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge.xml
+usr/share/libvirt/cpu_map/x86_KnightsMill-v1.xml
 usr/share/libvirt/cpu_map/x86_KnightsMill.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-v1.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-v2.xml
 usr/share/libvirt/cpu_map/x86_Nehalem.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G1-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G1.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G2-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G2.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G3-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G3.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G4-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G4.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G5-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G5.xml
+usr/share/libvirt/cpu_map/x86_Penryn-v1.xml
 usr/share/libvirt/cpu_map/x86_Penryn.xml
 usr/share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml
 usr/share/libvirt/cpu_map/x86_SandyBridge-v1.xml
@@ -355,21 +370,33 @@ usr/share/libvirt/cpu_map/x86_Westmere-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Westmere-v1.xml
 usr/share/libvirt/cpu_map/x86_Westmere-v2.xml
 usr/share/libvirt/cpu_map/x86_Westmere.xml
+usr/share/libvirt/cpu_map/x86_athlon-v1.xml
 usr/share/libvirt/cpu_map/x86_athlon.xml
+usr/share/libvirt/cpu_map/x86_core2duo-v1.xml
 usr/share/libvirt/cpu_map/x86_core2duo.xml
+usr/share/libvirt/cpu_map/x86_coreduo-v1.xml
 usr/share/libvirt/cpu_map/x86_coreduo.xml
 usr/share/libvirt/cpu_map/x86_cpu64-rhel5.xml
 usr/share/libvirt/cpu_map/x86_cpu64-rhel6.xml
 usr/share/libvirt/cpu_map/x86_features.xml
+usr/share/libvirt/cpu_map/x86_kvm32-v1.xml
 usr/share/libvirt/cpu_map/x86_kvm32.xml
+usr/share/libvirt/cpu_map/x86_kvm64-v1.xml
 usr/share/libvirt/cpu_map/x86_kvm64.xml
+usr/share/libvirt/cpu_map/x86_n270-v1.xml
 usr/share/libvirt/cpu_map/x86_n270.xml
+usr/share/libvirt/cpu_map/x86_pentium-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium.xml
+usr/share/libvirt/cpu_map/x86_pentium2-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium2.xml
+usr/share/libvirt/cpu_map/x86_pentium3-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium3.xml
 usr/share/libvirt/cpu_map/x86_pentiumpro.xml
+usr/share/libvirt/cpu_map/x86_phenom-v1.xml
 usr/share/libvirt/cpu_map/x86_phenom.xml
+usr/share/libvirt/cpu_map/x86_qemu32-v1.xml
 usr/share/libvirt/cpu_map/x86_qemu32.xml
+usr/share/libvirt/cpu_map/x86_qemu64-v1.xml
 usr/share/libvirt/cpu_map/x86_qemu64.xml
 usr/share/libvirt/cpu_map/x86_vendors.xml
 #usr/share/libvirt/schemas
diff --git a/lfs/libvirt b/lfs/libvirt
index 1bd9844be..f2915ec94 100644
--- a/lfs/libvirt
+++ b/lfs/libvirt
@@ -26,7 +26,7 @@ include Config
 
 SUMMARY	   = Server side daemon and supporting files for libvirt
 
-VER        = 10.10.0
+VER        = 11.4.0
 
 THISAPP    = libvirt-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -35,7 +35,7 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 SUP_ARCH   = x86_64 aarch64
 PROG       = libvirt
-PAK_VER    = 39
+PAK_VER    = 40
 
 DEPS       = ebtables libpciaccess ovmf qemu
 
@@ -49,7 +49,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 8042ce1493c3ffd6e6deeb7d94d0744da18850fe416480487a57ffd33bf3390f587849f308aad12fd38c887628f90137ba717ea11ef7e0f73a97b157fa985a6e
+$(DL_FILE)_BLAKE2 = 54d2b9cb35394184d2ce22670623849ecfb54abd1c8e48135ec735ed6b30fa9fa22261cf847a66269a0f3918f164954fcc0a5d7eec1e0d759831925f3ac6b546
 
 install : $(TARGET)
 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-- 
2.49.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] qemu-ga: Update to version 10.0.2
  2025-06-19 20:20 [PATCH] libvirt: Update to version 11.4.0 Adolf Belka
@ 2025-06-19 20:20 ` Adolf Belka
  2025-06-19 20:20 ` [PATCH] qemu: " Adolf Belka
  1 sibling, 0 replies; 3+ messages in thread
From: Adolf Belka @ 2025-06-19 20:20 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- Update from version 9.2.0 to 10.0.2
- Update of rootfile not required
- Changelog
    See commit for IPFire qemu package

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/qemu-ga | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lfs/qemu-ga b/lfs/qemu-ga
index 6416da061..29ce922db 100644
--- a/lfs/qemu-ga
+++ b/lfs/qemu-ga
@@ -26,11 +26,11 @@ include Config
 
 SUMMARY    = Guest agent for QEMU
 
-VER        = 9.2.0
+VER        = 10.0.2
 THISAPP    = qemu-ga-$(VER)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = qemu-ga
-PAK_VER    = 10
+PAK_VER    = 11
 
 DEPS       =
 
-- 
2.49.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] qemu: Update to version 10.0.2
  2025-06-19 20:20 [PATCH] libvirt: Update to version 11.4.0 Adolf Belka
  2025-06-19 20:20 ` [PATCH] qemu-ga: Update to version 10.0.2 Adolf Belka
@ 2025-06-19 20:20 ` Adolf Belka
  1 sibling, 0 replies; 3+ messages in thread
From: Adolf Belka @ 2025-06-19 20:20 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- Update from version 9.2.0 to 10.0.2
- Update of rootfile
- Removal of sched-attr patch as this is now built into the source tarball.
- Changelog
    10.0
	Removed features and incompatible changes
	Consult the 'Removed features' page for details of suggested replacement
	 functionality.
	New deprecated options and features
	    The -old-param option (used for booting some ancient Arm kernels) has been
	     deprecated, as none of the boards QEMU supports need it.
	    The Arm PXA2xx CPUs and the iwMMXt emulation have been deprecated and will
	     be removed in a future release.
	Consult the "Deprecated Features" chapter of the QEMU System Emulation User's
	 Guide for further details of the deprecations and their suggested replacements.
	Arm
	    iwMMXt emulation and the PXA2xx CPUs have been deprecated and will be
	     removed in a future release. (You were only using this if you explicitly
	     selected a pxa2xx CPU type on the command line or by environment variable.)
	    When emulating FEAT_PAUTH, the default pointer authentication algorithm
	     has been changed from the architected QARMA5 algorithm to QEMU's
	     implementation-defined algorithm. This is non-cryptographic but is
	     significantly faster, which is what most users will want. If you need the
	     architected algorithm you can select it with the 'pauth-qarma5'
	     CPU option, e.g. "-cpu max,pauth-qarma5=on".
	    The CPU now emulates the Secure EL2 physical and virtual timers
	    New CPU architectural features emulated:
	        FEAT_AFP
	        FEAT_RPRES
	        FEAT_XS
	    The Stellaris boards now model both I2C controllers
	    The 'virt' board now has a 'highmem-mmio-size' property to allow
	     configuring a larger PCIe MMIO region; this can be useful when passing
	     through a lot of PCI devices with large MMIO BARs to a VM.
	    New board models:
	        "npcm845-evb": NPCM845 Evaluation board
	        "imx8mp-evk": i.MX 8M Plus EVK board
	HPPA
	    New SeaBIOS-hppa version 18 with lots of fixes and enhancements
	    Emulate up to 256 GB RAM on 64-bit guests
	    Speed up translation time
	    Improve virtual CPU reset function
	    Support space register hashing via diag registers as required by 64-bit HP-UX
	    Add emulation of Diva GSP ("Guardian Service Processor" / BMC) PCI boards
	    Artist graphic card can be disabled on command line with "-global
	     artist.disable=true"
	    Added Astro LLMIO support, which allows adding other graphic cards, e.g.
	     with "-device ati-vga"
	LoongArch
	    KVM support cpu hotplug.
	    kVM support paravirt ipi.
	    KVM support kvm steal time.
	    KVM support virtual extioi feature.
	ISA and Extensions
	    Support riscv-iommu-sys device
	    Introduce svukte ISA extension
	    Support ssstateen extension
	    Reduce the overhead for simple RISC-V vector unit-stride loads and stores
	    Add 'sha' support
	    Add traces for exceptions in user mode
	    Update Pointer Masking to Zjpm v1.0
	    Add Smrnmi support
	    Add RISC-V Counter delegation ISA extension support
	    Add support for Smdbltrp and Ssdbltrp extensions
	    Introduce a translation tag for the IOMMU page table cache
	    Support Supm and Sspm as part of Zjpm v1.0
	Machines
	    Deprecate the default RISC-V machine
	    Add Tenstorrent Ascalon CPU
	    Support for RV64 Xiangshan Nanhu CPU
	    Add AIA userspace irqchip_split support
	    Add Microblaze V generic board
	    Support 64-bit address of initrd
	    Add V bit to GDB priv reg
	Fixes and Misc
	    Correct the validness check of iova
	    Fix APLIC in_clrip and clripnum write emulation
	    Upgrade ACPI SPCR table to support SPCR table revision 4 format
	    Fix timebase-frequency when using KVM acceleration
	    Convert htif debug prints to trace event
	s390x
	    Add feature definitions and CPU model for the generation 17 mainframe CPU
	    Add support for virtio-mem on s390x
	    Fix CPU emulation bugs with the PPNO and MCV instructions
	    Allow bypassing IOMMU for PCI devices for enhanced performance
	x86
	    Faster emulation of string instructions.
	    ClearwaterForest cpu model
	    SierraForest-v2 cpu model (for changes vs V1 see commit c597ff5339)
	ACPI / SMBIOS
	    Workaround 'PCI Label Id' Windows bug, which is normally harmless but on
	     localized versions can lead to guest hangs (commit 0b053391985)
	Block devices
	    The 'virtio-scsi' device has gained true multiqueue support where different
	     queues of a single controller can be processed by different I/O threads
	     (this catches up to the `virtio-blk` support that was added in QEMU 9.0).
	     This can improve scalability in cases where the guest submitted enough
	     I/O to saturate the host CPU running a single I/O thread processing the
	     virtio-scsi requests. Multiple I/O threads can be configured using the
	     new 'iothread-vq-mapping' property.
	    Add new handshake-max-seconds optional parameter to nbd-server-start QMP
	     command, and counterpart --handshake-limit option to qemu-nbd. This
	     allows fine-tuning the duration allowed for client negotiation during
	     integration testing.
	    qemu-nbd no longer hangs on exit when run as a daemon (the --fork
	     command-line option) when qemu is built with the simple trace backend.
	Graphics
	    Add new 'apple-gfx-pci' and 'apple-gfx-mmio' devices which use the macOS
	     host's ParavirtualizedGraphics.framework to provide accelerated graphics
	     to macOS guests. 'apple-gfx-pci' is intended for use on x86-64,
	     'apple-gfx-mmio' replicates the graphics device implemented by the
	     Virtualization.framework from the aarch64 version of macOS.
	IPMI
	    Multiple different internal BMCs are now supported.
	    The "Get Channel Info" command is now implemented in the internal BMC.
	    Add support for the "don't log" flag in the set watchdog command. This
	     will prevent watchdog timer events being added to the IPMI event log.
	    Return an error if invalid bits are set in the "Set BMC Global Enables"
	     command in the internal BMC.
	VFIO
	    Improved support for IGD passthrough on all Intel Gen 11 and 12 devices
	    Refactored dirty tracking engine to include VFIO state in calc-dirty-rate
	    Improved error reporting for MMIO region mapping failures
	    Improved property documentation
	    Implemented basic PCI PM capability backing
	    Added multifd support for VFIO migration
	    Added support for old ATI GPUs (x550)
	    Deprecated vfio-plaform
	    Misc fixes
	virtio
	    virtio-mem is now also supported on s390x
	    virtio-balloon guests stats are now cleared (set to zero) upon
	     device/machine reset.
	9pfs
	    Fix a regression regarding CVE-2023-2861 with security_model=passthrough
	     which caused certain sockets on guest to fail (bug #2337, commit b5e3f63a).
	    multidevs=remap is new default behaviour (see commit a2f17bd4).
	Audio
	    -audio dbus learned "nsamples" option, to set number of samples per
	     read/write
	Character devices
	    "hub": new chardev, aggregate multiple chardev backends
	GUI
	    VC: add support for cursor DECSC and DECRC commands
	    VC: implement DCH (delete) and ICH (insert) commands
	    VC: various parsing/display fixes
	GDBStub
	    linux-user processes can defer connection using -g <port>,suspend=n
	TCG Plugins
	    core plugin code is now only built once
	Migration
	    Fixed regressions in s390x (#2704) and pre-9.0 to post-9.1 migrations with
	     multifd capability (#2720)
	    Fixed long-standing bug with paused VMs (#686)
	    New migration mode "cpr-transfer" to support live updates (documentation).
	Block device backends and tools
	    The Linux AIO and io_uring backends can now make use of the RWF_DSYNC flag
	     for FUA write requests instead of emulating it with a normal write
	     followed by an fdatasync() call. This can improve performance for guest
	     disks with disabled write cache significantly (cache=writethrough and
	     cache=directsync result in such configurations), in particular if the
	     host disk is already operating in a write through cache mode.
	    The user can now actively manage if nodes are active or inactive. Amongst
	     others, this is required to perform safe live migration with a
	     qemu-storage-daemon based backend. It also allows starting block device
	     operation on the live migration destination of a paused VM without first
	     resuming the VM (which was previously the only way to activate images).
	    The vpc block driver has been fixed to handle VHD images exported from
	     Azure more correctly
	runtime
	    Improved networking emulation regarding netlink and multicast
	PowerPC
	    Added /proc/cpuinfo file emulation
	Guest agent
	    Implement a 'guest-get-load' command (Linux only)
	    Don't daemonize before the channel is initialized
	 This changes the exit code when QGA fails with the daemonize option
	    Optimize the freeze-hook script logic of logging errors
	 Log to syslog if the file log is unavailable
	    fsfreeze command: Skip bind mounts in the FS list
	Documentation
	    All QEMU Machine Protocol (QMP) interface documentation (QEMU, QEMU Storage
	     Daemon, QEMU Guest Agent) pages have been drastically overhauled,
	     featuring a new look and layout.
	    New QMP reference indices have been added per-API: QEMU QMP Index,
	     QEMU Storage Daemon QMP Index, and QEMU Guest Agent QMP Index. The
	     indices are sorted both per-type (Commands, Events, data types) and
	     alphabetically; providing a convenient one-page reference for all
	     available Commands and Events for a given interface.
	    All Commands, Events, and all documentation-referenced types are now
	     cross-reference-able; with clickable cross-references inserted in many
	     cases to make navigating complex commands, events, and types much easier.
	     References that aren't generated from metadata but are instead
	     "hardcoded" in the source documentation have not yet been converted, but
	     all generated references have been. (i.e. all type names for
	     arguments/members, return values, and "The members of..." pointers are
	     now clickable.)
	    Some return types are still omitted where they are undocumented, but this
	     will be rectified for next release.
	    Some build-time conditional information ("if", "ifcond") is temporarily
	     missing from the new documentation. For commands, events, or
	     members/values/arguments that are only conditionally available, please
	     consult the runtime introspection data to determine availability for a
	     given binary, as per usual. This will also be rectified for the next
	     release.
	Support for device models written in the Rust programming language is still
	 considered experimental, and does not have full feature parity compared to
	 QEMU binaries that are compiled with --disable-rust. However, it has matured
	 enough that developing new devices can (almost entirely) be done in the safe
	 subset of Rust.
	For now, binaries compiled with --enable-rust link statically to Rust libstd.
	 This is not suitable for e.g. Linux distributions but could be okay for other,
	 special purpose distributions of QEMU.
	The current minimum supported Rust version is 1.63.0, with plans to move to
	 1.77.0. This means that:
	    --enable-rust does not work with Debian bullseye's rustc packages.
	     in the future, --enable-rust will not support Debian bookworm's rustc for
	     the mips64el architecture, and will require the rustc-web package for
	     other architectures.
	Debian bullseye and bookworm otherwise remains supported platforms for QEMU;
	 Debian bullseye will cease to be a supported platform as soon as Debian
	 trixie is released.
	Testing and CI
	    updated baseline tuxrun tests to 19/11/2024 images
	    added new test for virtio-vulkan (needs upto date build with access to dri)
	    qtest clock_set and clock_step now check return values
	    riscv64 cross compile now based on trixie

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/qemu          |   3 +
 lfs/qemu                                |   7 +-
 src/patches/qemu-9.2.0-sched-attr.patch | 192 ------------------------
 3 files changed, 6 insertions(+), 196 deletions(-)
 delete mode 100644 src/patches/qemu-9.2.0-sched-attr.patch

diff --git a/config/rootfiles/packages/qemu b/config/rootfiles/packages/qemu
index 49105c523..90d70a83f 100644
--- a/config/rootfiles/packages/qemu
+++ b/config/rootfiles/packages/qemu
@@ -78,6 +78,7 @@ usr/share/qemu/firmware/60-edk2-aarch64.json
 usr/share/qemu/firmware/60-edk2-arm.json
 usr/share/qemu/firmware/60-edk2-i386.json
 usr/share/qemu/firmware/60-edk2-loongarch64.json
+usr/share/qemu/firmware/60-edk2-riscv64.json
 usr/share/qemu/firmware/60-edk2-x86_64.json
 #usr/share/qemu/hppa-firmware.img
 #usr/share/qemu/hppa-firmware64.img
@@ -122,6 +123,7 @@ usr/share/qemu/linuxboot_dma.bin
 usr/share/qemu/multiboot.bin
 usr/share/qemu/multiboot_dma.bin
 usr/share/qemu/npcm7xx_bootrom.bin
+usr/share/qemu/npcm8xx_bootrom.bin
 #usr/share/qemu/openbios-ppc
 #usr/share/qemu/openbios-sparc32
 #usr/share/qemu/openbios-sparc64
@@ -130,6 +132,7 @@ usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin
 #usr/share/qemu/palcode-clipper
 #usr/share/qemu/petalogix-ml605.dtb
 #usr/share/qemu/petalogix-s3adsp1800.dtb
+usr/share/qemu/pnv-pnor.bin
 usr/share/qemu/pvh.bin
 usr/share/qemu/pxe-e1000.rom
 usr/share/qemu/pxe-eepro100.rom
diff --git a/lfs/qemu b/lfs/qemu
index 5358c566d..ca48e0fd2 100644
--- a/lfs/qemu
+++ b/lfs/qemu
@@ -27,7 +27,7 @@ include Config
 SUMMARY    = Machine emulator and virtualizer
 
 # If you update the version also qemu-ga !!!
-VER        = 9.2.0
+VER        = 10.0.2
 
 THISAPP    = qemu-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -35,7 +35,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = qemu
-PAK_VER    = 45
+PAK_VER    = 46
 
 DEPS       = alsa libusbredir spice libseccomp libslirp
 
@@ -57,7 +57,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 5800556f356e4324124e250c02a07857eef3a6f22995a819fe972061fa750ebf7233da64ae4c0a3e775b1639c870be4b7312d86d9866fedf2bc99074aad0a10a
+$(DL_FILE)_BLAKE2 = be4ddf050d2102cefded5b4967222df749ee8af92c2427c31a9b29b3800fac8bb328daf2c38d11aa307b51eb7d7243f9b064b3bf24d446a001e5520359ee83c3
 
 install : $(TARGET)
 
@@ -90,7 +90,6 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-9.2.0-sched-attr.patch
 	cd $(DIR_APP) && ./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \
diff --git a/src/patches/qemu-9.2.0-sched-attr.patch b/src/patches/qemu-9.2.0-sched-attr.patch
deleted file mode 100644
index 15adf3ce1..000000000
--- a/src/patches/qemu-9.2.0-sched-attr.patch
+++ /dev/null
@@ -1,192 +0,0 @@
-From qemu-devel-bounces+berrange=redhat.com@nongnu.org Fri Oct 11 20:32:42 2024
-Delivered-To: berrange@gapps.redhat.com
-Received: by 2002:a05:612c:fcb:b0:49e:3967:5c with SMTP id kg11csp620284vqb;
-        Fri, 11 Oct 2024 12:32:43 -0700 (PDT)
-X-Forwarded-Encrypted: i=2; AJvYcCXPcgyQ0/+OIS7vrT6LX5S6B3Hgz9IoezpGzlHzuQ86lhsSq6u4TrVfGwET6WFesjl4msgGP886/Q==@gapps.redhat.com
-X-Google-Smtp-Source: AGHT+IGI1MzgaHjMk041SIq3SzZGJRAF05keA8usOtLVfsqz+UnG8gS/7JH2MnqELZrotA/GJ+FI
-X-Received: by 2002:a05:6870:530c:b0:277:e35a:d2d5 with SMTP id 586e51a60fabf-2886e0d7223mr2593115fac.47.1728675162879;
-        Fri, 11 Oct 2024 12:32:42 -0700 (PDT)
-ARC-Seal: i=1; a=rsa-sha256; t=1728675162; cv=none;
-        d=google.com; s=arc-20240605;
-        b=alETPlokQysotchMz04b4QkeW4n7IaCvDHuYMZh698k8mF5RJMclj7AfzOWMyGXURw
-         kFfdMDxoHBlzWY9bTAGsH6EBkFDcJ9RyMs2Oy/exl09b3Zbt/LaW/PgqJZWi7DqZe7FD
-         Zo3bqW5OSwWxU/vpy6n8B4EV22uFeRNhdTlzj0nbU4h+YpUcUzXR++ssowqa367TMQ5s
-         THtVdddGT62AlbkeybdC/gTVxTt0RktEBMKTh+MzuZJ1rcgMb+pbG6h/XF5Iub2C+szk
-         EkyaW96aO1YTzalK4HCCL7cuCauVGvVShSjUfPFMqXRxvzVfFqn02zZh6C4AXb/a/gIT
-         YiXA==
-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
-        h=content-transfer-encoding:sender:errors-to:list-subscribe:list-help
-         :list-post:list-archive:list-unsubscribe:list-id:precedence
-         :mime-version:message-id:date:subject:cc:to:from:delivered-to;
-        bh=PO9IbOEY2YqKRkyInUx1mFCEKdNyF6F1Ade1P8ET5cM=;
-        fh=xgCffyEVvm6hjKwQ8pT/suARWWrEEvCTAvMVKpBgaZg=;
-        b=Q4fnfvzilypAHQRG6QbhiDXJWTDiP8dnRA4CB3fnXjC3sGRa+4+abHQkdOy6pMW4T9
-         HhCdtLquJqRIBSQNVEVZMN5bFDX+gIaEA6pmEbd8Sdi47dl2+VS7vP9dQWf/FOtrkGqg
-         D6K6DlbOdtzmdoTtWcI9Zm1eg6/98cVH2/hqzO/Ig1eI47UvIJpZtm3CMa3y5BgoJhmX
-         v1pxjLmbVwmOdo8YkXgT3bH5iAPwXjn8FU7q4Z+CX3XChIQksWGvkB+zR/d7xqsEEdTv
-         x85zJC/K4M9DAnuyJA2rIcrt/QUDHpdAPfcV2gDWr4IBhF27Ul9j6vjXzKNHaGjJxXbF
-         hFsw==;
-        dara=google.com
-ARC-Authentication-Results: i=1; mx.google.com;
-       spf=pass (google.com: domain of qemu-devel-bounces+berrange=redhat.com@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+berrange=redhat.com@nongnu.org"
-Return-Path: <qemu-devel-bounces+berrange=redhat.com@nongnu.org>
-Received: from us-smtp-inbound-delivery-1.mimecast.com (us-smtp-inbound-delivery-1.mimecast.com. [205.139.110.120])
-        by mx.google.com with ESMTPS id af79cd13be357-7b114998ee3si449329885a.281.2024.10.11.12.32.42
-        for <berrange@gapps.redhat.com>
-        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
-        Fri, 11 Oct 2024 12:32:42 -0700 (PDT)
-Received-SPF: pass (google.com: domain of qemu-devel-bounces+berrange=redhat.com@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17;
-Authentication-Results: mx.google.com;
-       spf=pass (google.com: domain of qemu-devel-bounces+berrange=redhat.com@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+berrange=redhat.com@nongnu.org"
-Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com
- (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by
- relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,
- cipher=TLS_AES_256_GCM_SHA384) id us-mta-14-mwcDIPw2Ma-2fc8EyJ2Anw-1; Fri,
- 11 Oct 2024 15:32:41 -0400
-X-MC-Unique: mwcDIPw2Ma-2fc8EyJ2Anw-1
-Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15])
-	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
-	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
-	(No client certificate requested)
-	by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A96C819560AE
-	for <berrange@gapps.redhat.com>; Fri, 11 Oct 2024 19:32:40 +0000 (UTC)
-Received: by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix)
-	id A3F151956089; Fri, 11 Oct 2024 19:32:40 +0000 (UTC)
-Delivered-To: berrange@redhat.com
-Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.23])
-	by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9EAE41955F42
-	for <berrange@redhat.com>; Fri, 11 Oct 2024 19:32:40 +0000 (UTC)
-Received: from us-smtp-inbound-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120])
-	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
-	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
-	(No client certificate requested)
-	by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4A35819560B5
-	for <berrange@redhat.com>; Fri, 11 Oct 2024 19:32:40 +0000 (UTC)
-Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by
- relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2,
- cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
- us-mta-656-VIioc_tgPx6dfe3wuTFP4A-1; Fri, 11 Oct 2024 15:32:38 -0400
-X-MC-Unique: VIioc_tgPx6dfe3wuTFP4A-1
-Received: from localhost ([::1] helo=lists1p.gnu.org)
-	by lists.gnu.org with esmtp (Exim 4.90_1)
-	(envelope-from <qemu-devel-bounces@nongnu.org>)
-	id 1szLMh-00020r-5j; Fri, 11 Oct 2024 15:31:55 -0400
-Received: from eggs.gnu.org ([2001:470:142:3::10])
- by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
- (Exim 4.90_1) (envelope-from <raj.khem@gmail.com>)
- id 1szLMb-00020P-1q
- for qemu-devel@nongnu.org; Fri, 11 Oct 2024 15:31:51 -0400
-Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635])
- by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
- (Exim 4.90_1) (envelope-from <raj.khem@gmail.com>)
- id 1szLMW-0003EY-RE
- for qemu-devel@nongnu.org; Fri, 11 Oct 2024 15:31:46 -0400
-Received: by mail-pl1-x635.google.com with SMTP id
- d9443c01a7336-20bb610be6aso25161715ad.1
- for <qemu-devel@nongnu.org>; Fri, 11 Oct 2024 12:31:44 -0700 (PDT)
-X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=1e100.net; s=20230601; t=1728675103; x=1729279903;
- h=content-transfer-encoding:mime-version:message-id:date:subject:cc
- :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
- :reply-to;
- bh=PO9IbOEY2YqKRkyInUx1mFCEKdNyF6F1Ade1P8ET5cM=;
- b=K3X31NNuvHdknW5P8UcnhDjhiG8YvVt80acZ9o0cp4OYATGyivVrgqlV16YtlE7nbP
- c2GxVasHb4XHOFgQ/OS9twOzcL7BvXjTYuSlqOjY9QQ9Ng38MAMFgLpleBdUdi0JHrfh
- vH2pyWqiWlGfPiDmnJWawogp9bgGCHsqyjPUtcw1LCUqNNx0sfyV98mwYq27/2m4POny
- BQ0yFM/O7SF2EkZuaQwCJWPmH3fQatSgwEAq5u1SGy/Tn9a9GB4Iyolqgm4mMJBiful/
- xoI0a2JEsYatNItIvqoWJ5uBgwrOZHldhxPZGCUP9cL5ecB1flcnPXHxLR4p0/kiQzuI
- LzCw==
-X-Gm-Message-State: AOJu0YxWyAwGwQqYK1sZdfMljusz9BkH4fhylN1UvHETC7GDQDWtfFQS
- zz40Z5A7yrfIoS4SkMLM2xTSe57qyfKfFPHRVJe68kPHnsvbdEUpZAecLqJ/
-X-Received: by 2002:a17:902:d2c5:b0:20c:a644:817f with SMTP id
- d9443c01a7336-20ca6448261mr49539675ad.7.1728675103070; 
- Fri, 11 Oct 2024 12:31:43 -0700 (PDT)
-Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::f083])
- by smtp.gmail.com with ESMTPSA id
- d9443c01a7336-20c8bc13551sm26871055ad.88.2024.10.11.12.31.42
- (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
- Fri, 11 Oct 2024 12:31:42 -0700 (PDT)
-From: Khem Raj <raj.khem@gmail.com>
-To: qemu-devel@nongnu.org
-Cc: Khem Raj <raj.khem@gmail.com>, Laurent Vivier <laurent@vivier.eu>,
- Paolo Bonzini <pbonzini@redhat.com>
-Subject: [PATCH v2] sched_attr: Do not define for glibc >= 2.41
-Date: Fri, 11 Oct 2024 12:31:40 -0700
-Message-ID: <20241011193140.1047648-1-raj.khem@gmail.com>
-MIME-Version: 1.0
-X-Spam_score_int: -20
-X-Spam_score: -2.1
-X-Spam_bar: --
-X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
- DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
- RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
- SPF_PASS=-0.001 autolearn=ham autolearn_force=no
-X-Spam_action: no action
-X-BeenThere: qemu-devel@nongnu.org
-X-Mailman-Version: 2.1.29
-Precedence: list
-List-Id: <qemu-devel.nongnu.org>
-List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
- <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
-List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel>
-List-Post: <mailto:qemu-devel@nongnu.org>
-List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
-List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
- <mailto:qemu-devel-request@nongnu.org?subject=subscribe>
-Errors-To: qemu-devel-bounces+berrange=redhat.com@nongnu.org
-Sender: qemu-devel-bounces+berrange=redhat.com@nongnu.org
-X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition;Similar Internal Domain=false;Similar Monitored External Domain=false;Custom External Domain=false;Mimecast External Domain=false;Newly Observed Domain=false;Internal User Name=false;Custom Display Name List=false;Reply-to Address Mismatch=false;Targeted Threat Dictionary=false;Mimecast Threat Dictionary=false;Custom Threat Dictionary=false
-X-Mimecast-Bulk-Signature: yes
-X-Mimecast-Spam-Signature: bulk
-X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15
-X-Mimecast-Spam-Score: 0
-X-Mimecast-Originator: gmail.com
-Content-Transfer-Encoding: 8bit
-Content-Type: text/plain; charset="US-ASCII"; x-default=true
-Status: RO
-Content-Length: 1578
-Lines: 42
-
-glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions
-and struct sched_attr. Therefore, it needs to be checked for here as well before
-defining sched_attr
-
-Define sched_attr conditionally on SCHED_ATTR_SIZE_VER0
-
-Fixes builds with glibc/trunk
-
-[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=21571ca0d70302909cf72707b2a7736cf12190a0;hp=298bc488fdc047da37482f4003023cb9adef78f8
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Cc: Laurent Vivier <laurent@vivier.eu>
-Cc: Paolo Bonzini <pbonzini@redhat.com>
----
-v2: Use SCHED_ATTR_SIZE_VER0 instead of glibc version check
-
- linux-user/syscall.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 1354e75694..caecbb765d 100644
---- a/linux-user/syscall.c
-+++ b/linux-user/syscall.c
-@@ -359,7 +359,8 @@ _syscall3(int, sys_sched_getaffinity, pid_t, pid, unsigned int, len,
- #define __NR_sys_sched_setaffinity __NR_sched_setaffinity
- _syscall3(int, sys_sched_setaffinity, pid_t, pid, unsigned int, len,
-           unsigned long *, user_mask_ptr);
--/* sched_attr is not defined in glibc */
-+/* sched_attr is not defined in glibc < 2.41 */
-+#ifndef SCHED_ATTR_SIZE_VER0
- struct sched_attr {
-     uint32_t size;
-     uint32_t sched_policy;
-@@ -372,6 +373,7 @@ struct sched_attr {
-     uint32_t sched_util_min;
-     uint32_t sched_util_max;
- };
-+#endif
- #define __NR_sys_sched_getattr __NR_sched_getattr
- _syscall4(int, sys_sched_getattr, pid_t, pid, struct sched_attr *, attr,
-           unsigned int, size, unsigned int, flags);
-
-
-- 
2.49.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-19 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-19 20:20 [PATCH] libvirt: Update to version 11.4.0 Adolf Belka
2025-06-19 20:20 ` [PATCH] qemu-ga: Update to version 10.0.2 Adolf Belka
2025-06-19 20:20 ` [PATCH] qemu: " Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox