]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_capabilities: filter deprecated features if requested
authorCollin Walling <walling@linux.ibm.com>
Mon, 16 Dec 2024 23:03:56 +0000 (18:03 -0500)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Dec 2024 10:45:50 +0000 (11:45 +0100)
commitcd1e837c22182dcadfe17b469c931f9fc9745a46
tree335b91fb29455e1d9f37bd321cd1d921cb2a2f4e
parent4e2c8de2047e21d98443944a2bfe94529b269efa
qemu_capabilities: filter deprecated features if requested

If flag VIR_CONNECT_GET_DOMAIN_CAPABILITIES_DISABLE_DEPRECATED_FEATURES
is passed to qemuConnectGetDomainCapabilities, then the domain's CPU
model features will be updated to set any deprecated features to the
'disabled' policy.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_driver.c