libvirt/src/qemu
Collin Walling 62658bbf06 conf: add deprecated_features attribute
Add a new a attribute, deprecated_features='on|off' to the <cpu>
element.  This is used to toggle features flagged as deprecated on the
CPU model on or off.  When this attribute is paired with 'on',
deprecated features will not be filtered.  When paired with 'off', any
CPU features that are flagged as deprecated will be listed under the
CPU model with the 'disable' policy.

Example:

  <cpu mode='host-model' check='partial' deprecated_features='off'/>

The absence of this attribute is equivalent to the 'on' option.

The deprecated features that will populate the domain XML are the same
features that result in the virsh domcapabilities command with the
--disable-deprecated-features argument present.

It is recommended to define a domain XML with this attribute set to
'off' to ensure migration to machines that may outright drop these
features in the future.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
2024-12-17 11:45:50 +01:00
..
libvirt_qemu_probes.d
libvirt-qemu.sysusers.conf qemu: Add sysusers config file for qemu & kvm user/groups 2024-02-13 16:59:57 +01:00
libvirtd_qemu.aug qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02:00
meson.build qemu: Move PostParse functions out of qemu_domain.c 2024-11-13 13:13:54 +01:00
postcopy-migration.sysctl
qemu_agent.c qemu: Fix guest-sync response time in qga command 2024-02-22 09:51:23 +01:00
qemu_agent.h
qemu_alias.c qemu: Build cmd line for pstore device 2024-07-25 16:04:50 +02:00
qemu_alias.h
qemu_backup.c qemuBackupDiskDataCleanupOne: Don't skip rest of cleanup if we can't enter monitor 2024-09-06 18:14:34 +02:00
qemu_backup.h qemuBlockJobProcessEventConcludedBackup: Handle potentially NULL 'job->disk' 2024-06-20 09:52:54 +02:00
qemu_block.c qemu: block: Ensure that <dataStore> is in appropriate state 2024-11-28 10:27:56 +01:00
qemu_block.h qemu: chardev: Use 'reconnect-ms' instead of deprecated 'reconnect' 2024-10-16 14:39:09 +02:00
qemu_blockjob.c qemu: block: Ensure that <dataStore> is in appropriate state 2024-11-28 10:27:56 +01:00
qemu_blockjob.h qemu: Add enum entries for 'snapshot-load' qemu job 2024-11-18 13:51:13 +01:00
qemu_capabilities.c qemu_capabilities: filter deprecated features if requested 2024-12-17 11:45:50 +01:00
qemu_capabilities.h qemu_capabilities: filter deprecated features if requested 2024-12-17 11:45:50 +01:00
qemu_capspriv.h
qemu_cgroup.c qemu: put data-file path to VM's cgroup and namespace 2024-11-25 22:31:18 +01:00
qemu_cgroup.h
qemu_chardev.c qemu: chardev: avoid impossible overflow 2024-11-06 17:12:32 +01:00
qemu_chardev.h qemu: chardev: Use 'reconnect-ms' instead of deprecated 'reconnect' 2024-10-16 14:39:09 +02:00
qemu_checkpoint.c qemu: Use 'format' nodename accessors for block dirty bitmap operations 2023-10-17 14:16:17 +02:00
qemu_checkpoint.h
qemu_command.c util: make it optional to clear existing tc qdiscs/filters in virNetDevBandwidthSet() 2024-11-26 14:36:14 +01:00
qemu_command.h Drop unused function declarations 2024-11-12 15:35:53 +01:00
qemu_conf.c qemu: enable QEMU core dump by default on Linux 2024-12-05 09:42:37 +00:00
qemu_conf.h qemu: Don't store path to qemu img 2024-11-18 13:51:13 +01:00
qemu_dbus.c
qemu_dbus.h
qemu_domain_address.c conf: Introduce pstore device 2024-07-25 16:04:50 +02:00
qemu_domain_address.h qemu: Move qemuDomainGetSCSIControllerModel() 2024-01-30 10:58:13 +01:00
qemu_domain.c qemuDomainDiskChangeSupportedIothreads: Change error wording to fix grammar 2024-12-10 08:54:29 +01:00
qemu_domain.h qemu: Move 'qemuDomainSnapshotForEachQcow2(Raw)' to qemu_snapshot.c 2024-11-18 13:51:13 +01:00
qemu_domainjob.c Include support for Vfio stats during Migration 2024-07-10 12:28:55 +02:00
qemu_domainjob.h
qemu_driver.c qemu_capabilities: filter deprecated features if requested 2024-12-17 11:45:50 +01:00
qemu_driver.h
qemu_extdevice.c qemu: tpm: do not update profile name for transient domains 2024-12-11 20:10:43 +01:00
qemu_extdevice.h
qemu_fd.c
qemu_fd.h
qemu_firmware.c qemuFirmwareMatchDomain: Don't base firmware selection on nvram image format 2024-11-15 09:42:04 +01:00
qemu_firmware.h
qemu_hostdev.c hypervisor: move HostdevHostSupportsPassthroughVFIO 2024-11-15 13:15:22 +01:00
qemu_hostdev.h hypervisor: move HostdevHostSupportsPassthroughVFIO 2024-11-15 13:15:22 +01:00
qemu_hotplug.c qemu: re-use existing ActualNetDef for more interface types during update-device 2024-12-13 11:44:05 -05:00
qemu_hotplug.h
qemu_interface.c hypervisor: Move domain interface mgmt methods 2024-08-26 16:10:04 +02:00
qemu_interface.h hypervisor: Move domain interface mgmt methods 2024-08-26 16:10:04 +02:00
qemu_interop_config.c
qemu_interop_config.h
qemu_logcontext.c
qemu_logcontext.h
qemu_migration_cookie.c qemu: domain: Drop added features from migratable CPU 2024-03-14 16:15:06 +01:00
qemu_migration_cookie.h
qemu_migration_params.c qemu: fix switchover-ack regression for old qemu 2024-06-28 08:50:12 +02:00
qemu_migration_params.h qemu: add support for qemu switchover-ack 2024-06-25 09:51:00 +02:00
qemu_migration_paramspriv.h
qemu_migration.c Revert "qemu: migration: Improve handling of VIR_MIGRATE_PARAM_DEST_XML with VIR_MIGRATE_PERSIST_DEST" 2024-11-19 13:02:11 +01:00
qemu_migration.h qemu: Introduce and wire in 'VIR_MIGRATE_PARAM_MIGRATE_DISKS_DETECT_ZEROES' 2024-10-01 12:57:02 +02:00
qemu_monitor_json.c qemu: parse deprecated-props from query-cpu-model-expansion response 2024-12-17 11:45:50 +01:00
qemu_monitor_json.h qemu: monitor: Add monitor infrastructure for 'snapshot-load' QMP command 2024-11-18 13:51:13 +01:00
qemu_monitor_priv.h qemu: monitor: Use 'backing-mask-protocol' for blockjobs when available 2024-02-02 16:03:08 +01:00
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: parse deprecated-props from query-cpu-model-expansion response 2024-12-17 11:45:50 +01:00
qemu_monitor.h qemu: parse deprecated-props from query-cpu-model-expansion response 2024-12-17 11:45:50 +01:00
qemu_namespace.c qemu: put data-file path to VM's cgroup and namespace 2024-11-25 22:31:18 +01:00
qemu_namespace.h
qemu_nbdkit.c qemu: handle adding/removing nbdkit-backed disk sources 2024-02-12 16:13:17 -06:00
qemu_nbdkit.h qemu: add a 'chain' parameter to nbdkit start/stop 2024-02-12 16:13:17 -06:00
qemu_nbdkitpriv.h
qemu_passt.c qemu: passt: Use 'reconnect-ms' instead of 'reconnect' with new qemus 2024-11-19 13:06:02 +01:00
qemu_passt.h
qemu_postparse.c qemu: Enable I/O APIC if needed 2024-12-16 15:43:16 +01:00
qemu_postparse.h qemu: Move PostParse functions out of qemu_domain.c 2024-11-13 13:13:54 +01:00
qemu_process.c conf: add deprecated_features attribute 2024-12-17 11:45:50 +01:00
qemu_process.h Drop unused function declarations 2024-11-12 15:35:53 +01:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_saveimage.c qemu: Use consistent naming for save image format 2024-10-09 13:48:39 -06:00
qemu_saveimage.h qemu: Use consistent naming for save image format 2024-10-09 13:48:39 -06:00
qemu_security.c qemu: Handle locking of TPM state directory for incoming migration 2024-10-03 14:50:06 +02:00
qemu_security.h qemu: Handle locking of TPM state directory for incoming migration 2024-10-03 14:50:06 +02:00
qemu_shim.c
qemu_slirp.c
qemu_slirp.h
qemu_snapshot.c qemu: snapshot: Change 'data-file' to read-only after snapshot 2024-11-28 10:27:56 +01:00
qemu_snapshot.h qemu: Avoid use of '-loadvm' commandline argument for internal snapshot reversion 2024-11-18 13:51:13 +01:00
qemu_tpm.c qemu: tpm: do not update profile name for transient domains 2024-12-11 20:10:43 +01:00
qemu_tpm.h qemu: Read back the profile name after creation of a TPM instance 2024-11-18 08:46:49 +01:00
qemu_validate.c qemu: Turn EIM IOMMU on automagically 2024-11-07 10:46:33 +01:00
qemu_validate.h qemu: Turn EIM IOMMU on automagically 2024-11-07 10:46:33 +01:00
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c qemu: fill capabilities for virtiofsd 2024-07-10 12:32:23 +02:00
qemu_vhost_user.h qemu: fill capabilities for virtiofsd 2024-07-10 12:32:23 +02:00
qemu_virtiofs.c qemu: virtiofs: cache: use 'never' instead of 'none' 2024-07-25 13:41:46 +02:00
qemu_virtiofs.h
qemu.conf.in qemu: enable QEMU core dump by default on Linux 2024-12-05 09:42:37 +00:00
test_libvirtd_qemu.aug.in qemu: Introduce shared_filesystems configuration option 2024-10-03 13:29:25 +02:00
virtqemud.init.in
virtqemud.service.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00
virtqemud.socket.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00