[PATCH v1 0/2] Disable Deprecated Features by Default on s390 CPU Models

2025-05-01 Thread Collin Walling
The intention of reporting deprecated features and modifying the guest CPU model was to alleviate the user from the burden of preparing a guest with the necessary amendments to assure migration to newer hardware. While that goal was met by way of the "deprecated_features='on|off'" attribute, it sti

[PATCH v1 1/2] qemu: caps: add virCPUFeaturePolicy param to virQEMUCapsUpdateCPUDeprecatedFeatures

2025-05-01 Thread Collin Walling
Currently, virQEMUCapsUpdateCPUDeprecatedFeatures only allows for disabling deprecated features. This locks the deprecated_features attribute to only do something if set to 'off'. Let's add a virCPUFeaturePolicy to the function's parameters which will allow the caller to decide what happens to th

[PATCH v1 2/2] qemu: caps: disable deprecated features for s390 models by default

2025-05-01 Thread Collin Walling
To ease the user with defining a guest with a migratable CPU model, let's disable the deprecated features from the get-go. If these features are still desired, they may be reenabled via the deprecated_features='on' attribute. Signed-off-by: Collin Walling --- src/qemu/qemu_capabilities.c