[Qemu-commits] [qemu/qemu] c990c1: hw/s390x: Attach the sclpconsole to /machine/sclp/...
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c990c1f35b80de53570f11433d71624aca185763 https://github.com/qemu/qemu/commit/c990c1f35b80de53570f11433d71624aca185763 Author: Thomas Huth Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/s390-virtio-ccw.c Log Message: --- hw/s390x: Attach the sclpconsole to /machine/sclp/s390-sclp-event-facility The sclpconsole currently does not have a proper parent in the QOM tree, so it shows up under /machine/unattached - which is somewhat ugly. We should rather attach it to /machine/sclp/s390-sclp-event-facility where the other devices of type TYPE_SCLP_EVENT already reside. Message-ID: <20240430190843.453903-1-th...@redhat.com> Reviewed-by: Eric Farman Reviewed-by: Cédric Le Goater Reviewed-by: David Hildenbrand Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: b350f6c8ed4fd796454d0f26482f3e9d9285fda1 https://github.com/qemu/qemu/commit/b350f6c8ed4fd796454d0f26482f3e9d9285fda1 Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/s390-virtio-ccw.c M hw/s390x/sclp.c M include/hw/s390x/s390-virtio-ccw.h M include/hw/s390x/sclp.h Log Message: --- s390x: Introduce a SCLPDevice pointer under the machine Initialize directly SCLPDevice from the machine init handler and remove s390_sclp_init(). We will use the SCLPDevice pointer later to create the consoles. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-2-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: af4a3e32f3e1284662ebc1fd50a8c5e1776ebece https://github.com/qemu/qemu/commit/af4a3e32f3e1284662ebc1fd50a8c5e1776ebece Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/event-facility.c M hw/s390x/s390-virtio-ccw.c M include/hw/s390x/event-facility.h Log Message: --- s390x/event-facility: Simplify sclp_get_event_facility_bus() sclp_get_event_facility_bus() scans the whole machine to find a TYPE_SCLP_EVENTS_BUS object. The SCLPDevice instance is now available under the machine state, use it to simplify the lookup and adjust the creation of the consoles. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-3-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: 3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a https://github.com/qemu/qemu/commit/3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/sclp.c Log Message: --- s390x/sclp: Simplify get_sclp_device() get_sclp_device() scans the whole machine to find a TYPE_SCLP object. Now that the SCLPDevice instance is available under the machine state, use it to simplify the lookup. While at it, remove the inline to let the compiler decide on how to optimize. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-4-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: 8aa2211e855df79ddd363e5f0d8c4d7d4c376e16 https://github.com/qemu/qemu/commit/8aa2211e855df79ddd363e5f0d8c4d7d4c376e16 Author: Collin Walling Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M qapi/machine-target.json M target/s390x/cpu_features.c M target/s390x/cpu_features.h M target/s390x/cpu_models_sysemu.c Log Message: --- target/s390x: report deprecated-props in cpu-model-expansion reply Retain a list of deprecated features disjoint from any particular CPU model. A query-cpu-model-expansion reply will now provide a list of properties (i.e. features) that are flagged as deprecated. Example: { "return": { "model": { "name": "z14.2-base", "deprecated-props": [ "bpb", "csske" ], "props": { "pfmfi": false, "exrl": true, ...a lot more props... "skey": false, "vxpdeh2": false } } } } It is recommended that s390 guests operate with these features explicitly disabled to ensure compatibility with future hardware. Signed-off-by: Collin Walling Acked-by: Markus Armbruster Reviewed-by: David Hildenbrand Message-ID: <20240429191059.11806-2-wall...@linux.ibm.com> Signed-off-by: Thomas Huth Commit: 6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a https://github.com/qemu/qemu/commit/6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a Author: Collin Walling Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M target/s390x/cpu_features.c Log Message: --- target/s390x: flag te and cte as deprecated Add the CONSTRAINT_TRANSACTIONAL_EXE (cte) and TRANSACTIONAL_EXE (te) to the list of deprecated features. Signed-off-by: Collin Walling Reviewed-by: David Hildenbrand Message-ID:
[Qemu-commits] [qemu/qemu] c990c1: hw/s390x: Attach the sclpconsole to /machine/sclp/...
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: c990c1f35b80de53570f11433d71624aca185763 https://github.com/qemu/qemu/commit/c990c1f35b80de53570f11433d71624aca185763 Author: Thomas Huth Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/s390-virtio-ccw.c Log Message: --- hw/s390x: Attach the sclpconsole to /machine/sclp/s390-sclp-event-facility The sclpconsole currently does not have a proper parent in the QOM tree, so it shows up under /machine/unattached - which is somewhat ugly. We should rather attach it to /machine/sclp/s390-sclp-event-facility where the other devices of type TYPE_SCLP_EVENT already reside. Message-ID: <20240430190843.453903-1-th...@redhat.com> Reviewed-by: Eric Farman Reviewed-by: Cédric Le Goater Reviewed-by: David Hildenbrand Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth Commit: b350f6c8ed4fd796454d0f26482f3e9d9285fda1 https://github.com/qemu/qemu/commit/b350f6c8ed4fd796454d0f26482f3e9d9285fda1 Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/s390-virtio-ccw.c M hw/s390x/sclp.c M include/hw/s390x/s390-virtio-ccw.h M include/hw/s390x/sclp.h Log Message: --- s390x: Introduce a SCLPDevice pointer under the machine Initialize directly SCLPDevice from the machine init handler and remove s390_sclp_init(). We will use the SCLPDevice pointer later to create the consoles. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-2-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: af4a3e32f3e1284662ebc1fd50a8c5e1776ebece https://github.com/qemu/qemu/commit/af4a3e32f3e1284662ebc1fd50a8c5e1776ebece Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/event-facility.c M hw/s390x/s390-virtio-ccw.c M include/hw/s390x/event-facility.h Log Message: --- s390x/event-facility: Simplify sclp_get_event_facility_bus() sclp_get_event_facility_bus() scans the whole machine to find a TYPE_SCLP_EVENTS_BUS object. The SCLPDevice instance is now available under the machine state, use it to simplify the lookup and adjust the creation of the consoles. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-3-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: 3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a https://github.com/qemu/qemu/commit/3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a Author: Cédric Le Goater Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M hw/s390x/sclp.c Log Message: --- s390x/sclp: Simplify get_sclp_device() get_sclp_device() scans the whole machine to find a TYPE_SCLP object. Now that the SCLPDevice instance is available under the machine state, use it to simplify the lookup. While at it, remove the inline to let the compiler decide on how to optimize. Signed-off-by: Cédric Le Goater Message-ID: <20240502131533.377719-4-...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth Commit: 8aa2211e855df79ddd363e5f0d8c4d7d4c376e16 https://github.com/qemu/qemu/commit/8aa2211e855df79ddd363e5f0d8c4d7d4c376e16 Author: Collin Walling Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M qapi/machine-target.json M target/s390x/cpu_features.c M target/s390x/cpu_features.h M target/s390x/cpu_models_sysemu.c Log Message: --- target/s390x: report deprecated-props in cpu-model-expansion reply Retain a list of deprecated features disjoint from any particular CPU model. A query-cpu-model-expansion reply will now provide a list of properties (i.e. features) that are flagged as deprecated. Example: { "return": { "model": { "name": "z14.2-base", "deprecated-props": [ "bpb", "csske" ], "props": { "pfmfi": false, "exrl": true, ...a lot more props... "skey": false, "vxpdeh2": false } } } } It is recommended that s390 guests operate with these features explicitly disabled to ensure compatibility with future hardware. Signed-off-by: Collin Walling Acked-by: Markus Armbruster Reviewed-by: David Hildenbrand Message-ID: <20240429191059.11806-2-wall...@linux.ibm.com> Signed-off-by: Thomas Huth Commit: 6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a https://github.com/qemu/qemu/commit/6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a Author: Collin Walling Date: 2024-05-10 (Fri, 10 May 2024) Changed paths: M target/s390x/cpu_features.c Log Message: --- target/s390x: flag te and cte as deprecated Add the CONSTRAINT_TRANSACTIONAL_EXE (cte) and TRANSACTIONAL_EXE (te) to the list of deprecated features. Signed-off-by: Collin Walling Reviewed-by: David Hildenbrand Message-ID: