qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c990c1: hw/s390x: Attach the sclpconsole to /


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] c990c1: hw/s390x: Attach the sclpconsole to /machine/sclp/...
Date: Fri, 10 May 2024 00:43:43 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: c990c1f35b80de53570f11433d71624aca185763
      
https://github.com/qemu/qemu/commit/c990c1f35b80de53570f11433d71624aca185763
  Author: Thomas Huth <thuth@redhat.com>
  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-thuth@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: b350f6c8ed4fd796454d0f26482f3e9d9285fda1
      
https://github.com/qemu/qemu/commit/b350f6c8ed4fd796454d0f26482f3e9d9285fda1
  Author: Cédric Le Goater <clg@redhat.com>
  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 <clg@redhat.com>
Message-ID: <20240502131533.377719-2-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: af4a3e32f3e1284662ebc1fd50a8c5e1776ebece
      
https://github.com/qemu/qemu/commit/af4a3e32f3e1284662ebc1fd50a8c5e1776ebece
  Author: Cédric Le Goater <clg@redhat.com>
  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 <clg@redhat.com>
Message-ID: <20240502131533.377719-3-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a
      
https://github.com/qemu/qemu/commit/3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a
  Author: Cédric Le Goater <clg@redhat.com>
  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 <clg@redhat.com>
Message-ID: <20240502131533.377719-4-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 8aa2211e855df79ddd363e5f0d8c4d7d4c376e16
      
https://github.com/qemu/qemu/commit/8aa2211e855df79ddd363e5f0d8c4d7d4c376e16
  Author: Collin Walling <walling@linux.ibm.com>
  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 <walling@linux.ibm.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240429191059.11806-2-walling@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a
      
https://github.com/qemu/qemu/commit/6e55b32d45976a8e78cbd3bbdf6ed1148cb2662a
  Author: Collin Walling <walling@linux.ibm.com>
  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 <walling@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240429191059.11806-3-walling@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 95e0fb0afac678b13a70b476b4ad564569d6df8c
      
https://github.com/qemu/qemu/commit/95e0fb0afac678b13a70b476b4ad564569d6df8c
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M docs/about/deprecated.rst
    M qemu-options.hx
    M system/vl.c

  Log Message:
  -----------
  qemu-options: Deprecate "-runas" and introduce "-run-with user=..." instead

The old "-runas" option has the disadvantage that it is not visible
in the QAPI schema, so it is not available via the normal introspection
mechanisms. We've recently introduced the "-run-with" option for exactly
this purpose, which is meant to handle the options that affect the
runtime behavior. Thus let's introduce a "user=..." parameter here now
and deprecate the old "-runas" option.

Message-ID: <20240506112058.51446-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 0d497106a71a3b17b0228cb87922ef794296cb24
      
https://github.com/qemu/qemu/commit/0d497106a71a3b17b0228cb87922ef794296cb24
  Author: Bibo Mao <maobibo@loongson.cn>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M tests/qtest/boot-serial-test.c
    M tests/qtest/meson.build

  Log Message:
  -----------
  tests/qtest: Add some test cases support on LoongArch

Add boot-serial-test and filter test cases support on LoongArch system.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20240509084745.2514607-1-maobibo@loongson.cn>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: dafec285bdbfe415ac6823abdc510e0b92c3f094
      
https://github.com/qemu/qemu/commit/dafec285bdbfe415ac6823abdc510e0b92c3f094
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M docs/about/deprecated.rst
    M hw/s390x/event-facility.c
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/sclp.c
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/s390-virtio-ccw.h
    M include/hw/s390x/sclp.h
    M qapi/machine-target.json
    M qemu-options.hx
    M system/vl.c
    M target/s390x/cpu_features.c
    M target/s390x/cpu_features.h
    M target/s390x/cpu_models_sysemu.c
    M tests/qtest/boot-serial-test.c
    M tests/qtest/meson.build

  Log Message:
  -----------
  Merge tag 'pull-request-2024-05-10' of https://gitlab.com/thuth/qemu into 
staging

* Attach s390x sclpconsole to a proper parent in the QOM tree
* SCLP related clean-ups
* Report deprecated-props in cpu-model-expansion reply on s390x
* Deprecate "-runas" and introduce "-run-with user=..." instead
* Add some more qtest cases on LoongArch

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmY9wHwRHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbUF+A/+JsraF7XOWv1eqW5/O+F5Id1a15CI15bQ
# +rUxW0H0wYxdg1i7jj4cB1dIBXgp59lTkpKUN7ftmnP54oxYQkdcJVCvclzAcwzh
# ZoMiIw3u88JEBZYpF4HcEaKawXxbTMU/ZGOAil1DSkdv+bwhISCS+aIo6ra2Nclg
# 2Zwzvb6DsHqcaYIqvrhbxr5VNhZ+o9AU0PEO67AbN6NKXAFCYlRf6Y9OlEveizZi
# 4bNnpa/YpA71dL418argAI0Wq78UPENjLeTVGap0DWGbufiiZ4M/Qov6czT0eYuG
# Us2CGJcimV9W+mR45g4xGIgaPmp7PFiobrOoTrAhbixxRA9FQWjamTsElcifktqE
# XiE8kYnTx052bY24ttgLOKYRV+whkw+luxtIZo5JPwNkM5S6rZiwY8EsAmd6fIxR
# aBlWPWQVO5JBc1Ol6MOWqZ/odpr6nQRe4gnL6tcCTFnpZwpyzaQiooNFES0a8KWJ
# MIsywMbIheMNI6m85rngdbKZ4lI1HTUnqLpfoDym3nlHtdx00ctq0O8RjJArfzt6
# aRltpbIAvbGgDyRMzJjezCiMbBSwIHyv4eheJVMi/SAuSevGtnfVNZjCw208Qir6
# sWEAWjavom/XnOFOtLwzkBdjBDiWHiPbLLLgRKcwZ7wbBgH4vhITwSz71fyKpo8n
# aTjjveXlUr0=
# =y1dS
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 10 May 2024 08:36:44 AM CEST
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]

* tag 'pull-request-2024-05-10' of https://gitlab.com/thuth/qemu:
  tests/qtest: Add some test cases support on LoongArch
  qemu-options: Deprecate "-runas" and introduce "-run-with user=..." instead
  target/s390x: flag te and cte as deprecated
  target/s390x: report deprecated-props in cpu-model-expansion reply
  s390x/sclp: Simplify get_sclp_device()
  s390x/event-facility: Simplify sclp_get_event_facility_bus()
  s390x: Introduce a SCLPDevice pointer under the machine
  hw/s390x: Attach the sclpconsole to /machine/sclp/s390-sclp-event-facility

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/937e2cb75958...dafec285bdbf

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



reply via email to

[Prev in Thread] Current Thread [Next in Thread]