On 2025-06-24 12:25, Thomas Huth wrote:
On 16/06/2025 16.01, Shalini Chellathurai Saroja wrote:
Implement the Service-Call Logical Processor (SCLP) event
type Control-Program Identification (CPI) in QEMU.
Changed since v5:
- Add identifiers as class properties instead of object properties
On 2025-06-17 19:09, Nina Schoetterl-Glausch wrote:
On Mon, 2025-06-16 at 16:01 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received
as shown below.
virsh # qemu-monitor
EX").
The SCLP event CPI is supported only from "s390-ccw-virtio-10.1" machine
and higher.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
Reviewed-by: Thomas Huth
---
hw/s390x/event-facility.c | 2 +
hw/s390x/meson.build
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
Reviewed-by: Thomas Huth
---
hw/s390x/sclpcpi.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/hw/s390x
attributes
- Use ldq_be_p() intead of be64_to_cpu()
- Return the CPI attribute system-level as an integer in QMP
- Add compat handling for backward migration
- Other minor changes
Shalini Chellathurai Saroja (3):
hw/s390x: add SCLP event type CPI
hw/s390x: add Control-Program Identification to
,
"property":"system_name"}}'
{
"return": "TESTVM ",
"id": "libvirt-19"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-s
On 2025-06-05 14:03, Thomas Huth wrote:
On 05/06/2025 13.56, Thomas Huth wrote:
On 05/06/2025 10.34, Nina Schoetterl-Glausch wrote:
On Tue, 2025-06-03 at 15:56 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) data to the QEMU Object
Model (QOM), along with
On 2025-06-05 15:16, Nina Schotterl-Glausch wrote:
On Thu, 2025-06-05 at 13:56 +0200, Thomas Huth wrote:
On 05/06/2025 10.34, Nina Schoetterl-Glausch wrote:
> On Tue, 2025-06-03 at 15:56 +0200, Shalini Chellathurai Saroja wrote:
> > Add Control-Program Identification (CPI) data to
On 2025-06-13 11:59, Thomas Huth wrote:
On 03/06/2025 15.56, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received
as shown below.
...
diff --git a/qapi/machine.json b/qapi
On 2025-06-05 13:56, Thomas Huth wrote:
On 05/06/2025 10.34, Nina Schoetterl-Glausch wrote:
On Tue, 2025-06-03 at 15:56 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) data to the QEMU Object
Model (QOM), along with the timestamp in which the data was
he SCLP event CPI is supported only from "s390-ccw-virtio-10.1" machine
and higher.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Thomas Huth
---
hw/s390x/event-facility.c | 2 +
hw/s390x/meson.build | 1 +
hw/s390x/s390-virtio-ccw.c
,
"property":"system_name"}}'
{
"return": "TESTVM ",
"id": "libvirt-19"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get",
"arguments":{"path":"/machine/sclp/s390-s
device
- Update the description of CPI attributes
- Use ldq_be_p() intead of be64_to_cpu()
- Return the CPI attribute system-level as an integer in QMP
- Add compat handling for backward migration
- Other minor changes
Shalini Chellathurai Saroja (3):
hw/s390x: add SCLP event type CPI
hw/s390x
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/sclpcpi.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/hw/s390x/sclpcpi.c b/hw/s390x
On 2025-05-23 14:07, Hendrik Brueckner wrote:
On Tue, May 06, 2025 at 02:16:18PM +0200, Shalini Chellathurai Saroja
wrote:
On 2025-05-06 09:48, Thomas Huth wrote:
> On 06/05/2025 08.48, Nina Schoetterl-Glausch wrote:
> > On Mon, 2025-05-05 at 08:55 +0200, Shalini Chellathurai Sar
On 2025-05-06 09:48, Thomas Huth wrote:
On 06/05/2025 08.48, Nina Schoetterl-Glausch wrote:
On Mon, 2025-05-05 at 08:55 +0200, Shalini Chellathurai Saroja wrote:
On 2025-04-28 11:22, Janis Schoetterl-Glausch wrote:
On Thu, 2025-04-10 at 17:09 +0200, Shalini Chellathurai Saroja
wrote
On 2025-04-28 14:05, Nina Schoetterl-Glausch wrote:
On Thu, 2025-04-10 at 17:09 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) device to QOM only when the
virtual
machine supports CPI. CPI is supported from "s390-ccw-virtio-10.0"
machine
and highe
On 2025-04-30 12:34, Thomas Huth wrote:
On 10/04/2025 17.09, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received.
...
diff --git a/hw/s390x/sclpcpi.c b/hw/s390x/sclpcpi.c
index
On 2025-04-28 14:01, Nina Schoetterl-Glausch wrote:
On Thu, 2025-04-10 at 17:09 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received.
Example:
virsh # qemu-monitor-command vm
On 2025-04-29 11:20, Nina Schoetterl-Glausch wrote:
On Thu, 2025-04-10 at 17:09 +0200, Shalini Chellathurai Saroja wrote:
Implement the Service-Call Logical Processor (SCLP) event
type Control-Program Identification (CPI) in QEMU. This
event is used to send CPI identifiers from the guest to the
On 2025-04-28 11:22, Janis Schoetterl-Glausch wrote:
On Thu, 2025-04-10 at 17:09 +0200, Shalini Chellathurai Saroja wrote:
Implement the Service-Call Logical Processor (SCLP) event
type Control-Program Identification (CPI) in QEMU. This
event is used to send CPI identifiers from the guest to
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/sclpcpi.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/hw/s390x/sclpcpi.c b/hw
- Other minor changes
Shalini Chellathurai Saroja (4):
hw/s390x: add SCLP event type CPI
hw/s390x: add Control-Program Identification to QOM
hw/s390x: support migration of CPI data
hw/s390x: compat handling for backward migration
hw/s390x/event-facility.c | 2 +
hw/s390x
the guest (e.g. "LINUX").
System name: user configurable name of the guest (e.g. "TESTVM").
System level: distribution and kernel version, if the system type is Linux
(e.g. 0x50e00).
Sysplex name: name of the cluster which the guest belongs to (if any)
(e.g. "PLEX&q
sclp-event-facility/sclpcpi",
"property": "control-program-id" }}'
{
"return": {
"timestamp": 1742390410685762000,
"system-level": 74872343805430528,
"sysplex-name": "PLEX ",
"system-name"
Add Control-Program Identification (CPI) device to QOM only when the virtual
machine supports CPI. CPI is supported from "s390-ccw-virtio-10.0" machine
and higher.
Signed-off-by: Shalini Chellathurai Saroja
---
hw/s390x/s390-virtio-ccw.c | 10 +-
include/hw/s390x/s
On 2025-04-09 07:30, Thomas Huth wrote:
On 03/04/2025 16.33, Shalini Chellathurai Saroja wrote:
On 2025-04-01 15:55, Nina Schoetterl-Glausch wrote:
On Mon, 2025-03-31 at 16:00 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification data to the QEMU Object
Model (QOM
On 2025-04-09 07:49, Thomas Huth wrote:
On 03/04/2025 14.49, Shalini Chellathurai Saroja wrote:
On 2025-04-02 09:52, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) device to QOM only when the
virtual
machine supports CPI
the guest (e.g. "LINUX").
System name: user configurable name of the guest (e.g. "TESTVM").
System level: distribution and kernel version, if the system type is Linux
(e.g. 0x50e00).
Sysplex name: name of the cluster which the guest belongs to (if any)
(e.g. "PLEX&q
- Use ldq_be_p() intead of be64_to_cpu()
- Return the CPI attribute system-level as an integer in QMP
- Add compat handling for backward migration
- Other minor changes
Shalini Chellathurai Saroja (4):
hw/s390x: add SCLP event type CPI
hw/s390x: add Control-Program Identification to
On 2025-04-02 07:48, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Implement the Service-Call Logical Processor (SCLP) event
type Control-Program Identification (CPI) in QEMU. This
event is used to send CPI identifiers from the guest to the
host. The CPI identifiers
On 2025-04-02 08:05, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/sclpcpi.c | 27
Add Control-Program Identification (CPI) device to QOM only when the virtual
machine supports CPI. CPI is supported from "s390-ccw-virtio-10.0" machine
and higher.
Signed-off-by: Shalini Chellathurai Saroja
---
hw/s390x/event-facility.c | 27 ++-
hw/s390x/s
On 2025-04-02 07:58, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received.
Example:
virsh # qemu-monitor-command vm --pretty '{
"exec
On 2025-04-02 09:52, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) device to QOM only when the
virtual
machine supports CPI. CPI is supported from "s390-ccw-virtio-10.0"
machine
and higher.
Signed-off-b
On 2025-04-01 15:55, Nina Schoetterl-Glausch wrote:
On Mon, 2025-03-31 at 16:00 +0200, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification data to the QEMU Object
Model (QOM), along with the timestamp in which the data was received.
Example:
virsh # qemu-monitor-command vm
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/sclpcpi.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/hw/s390x/sclpcpi.c b/hw
sclp-event-facility/sclpcpi",
"property": "control-program-id" }}'
{
"return": {
"timestamp": 1742390410685762000,
"system-level": 74872343805430528,
"sysplex-name": "PLEX ",
"system-name"
On 2025-03-06 17:05, Daniel P. Berrangé wrote:
On Thu, Mar 06, 2025 at 04:44:33PM +0100, Nina Schoetterl-Glausch
wrote:
On Thu, 2025-03-06 at 15:55 +0100, Thomas Huth wrote:
> On 06/03/2025 13.23, shalini wrote:
> > On 2025-03-05 16:56, Thomas Huth wrote:
> > > On 24/02/2
On 2025-03-05 16:56, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) to the QEMU Object
Model (QOM). The CPI identifiers provide information about
the guest operating system. The CPI identifiers are:
system type, system name
On 2025-03-05 19:33, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/s390-virtio
On 2025-03-06 16:06, Daniel P. Berrangé wrote:
BTW, your email client is possibly mis-configured - your mail
came through with "From: shalini "
and attempting to reply to that gets an error saying that
'imap.linux.ibm.com' does not exist.
Hello Daniel,
Thank you very mu
On 2025-03-06 16:08, Thomas Huth wrote:
On 06/03/2025 15.10, shalini wrote:
On 2025-03-05 19:33, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai
On 2025-03-05 17:06, Daniel P. Berrangé wrote:
On Mon, Feb 24, 2025 at 01:04:47PM +0100, Shalini Chellathurai Saroja
wrote:
Add Control-Program Identification (CPI) to the QEMU Object
Model (QOM). The CPI identifiers provide information about
the guest operating system. The CPI identifiers are
On 2025-03-05 19:33, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/s390-virtio
On 2025-03-05 19:05, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) to the QEMU Object
Model (QOM). The CPI identifiers provide information about
the guest operating system. The CPI identifiers are:
system type, system name
is
far
from obvious so I wouldn't mind ldq_be_p.
ok, I will use ldc_be_p() instead, thank you Nina.
Otherwise it's maybe better to use ldq_be_p() instead?
Thomas
--
Mit freundlichen Grüßen / Kind regards
Shalini Chellathurai Saroja
Software Developer
Linux on IBM Z &
On 2025-03-05 19:04, Thomas Huth wrote:
On 24/02/2025 13.04, Shalini Chellathurai Saroja wrote:
Implement the SCLP event type Control-Program Identification
(CPI) in QEMU. This event is used to send CPI identifiers,
which provide information about the guest OS to the host.
Save the information
On 2025-01-24 19:09, Nina Schoetterl-Glausch wrote:
On Wed, 2025-01-15 at 14:31 +0100, Shalini Chellathurai Saroja wrote:
This commit saves the state of CPI values in the guest and
transfers this state during live migration of the guest.
IMO, using active voice and directly stating what is
On 2025-01-24 18:49, Nina Schoetterl-Glausch wrote:
On Wed, 2025-01-15 at 14:31 +0100, Shalini Chellathurai Saroja wrote:
This commit adds the firmware control-program
identifiers received from a KVM guest via the
SCLP event type Control-Program Identification to QOM.
A timestamp in which the
948254000,
"system-level": "0x50e00",
"sysplex-name": "SYSPLEX ",
"system-name": "TESTVM ",
"system-type": "LINUX "
},
"id": "libvirt-15"
}
Signed-off-by:
Register Control-Program Identification data with the live
migration infrastructure.
Signed-off-by: Shalini Chellathurai Saroja
Reviewed-by: Nina Schoetterl-Glausch
---
hw/s390x/s390-virtio-ccw.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/hw/s390x/s390-virtio-ccw.c
system name provides the name of the guest (e.g. TESTVM).
The system level provides the distribution and kernel version
of the guest OS (e.g. 0x50e00).
The sysplex name provides the sysplex name of the guest
(e.g. SYSPLEX).
Signed-off-by: Shalini Chellathurai Saroja
---
hw/s390x/s390-virtio-ccw.c
are system type, system name, system level and
sysplex name.
System type provides the OS type of the guest. System name
provides the name of the guest. System level provides the
distribution and kernel version of the guest OS. Sysplex
name provides sysplex name of the guest.
Signed-off-by: Shalini
This commit saves the state of CPI values in the guest and
transfers this state during live migration of the guest.
Signed-off-by: Shalini Chellathurai Saroja
---
hw/s390x/s390-virtio-ccw.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw
;qom-get","arguments": {
"path": "/machine", "property": "s390-cpi"}}'
{
"return": {
"timestamp": 1711620874948254000,
"system-level": "0x50e00",
"sysplex-name": "SYSPLEX
tricted or
restricted).
Signed-off-by: Halil Pasic
---
Boris says having the property on the virtual-css-bridge is good form
Libvirt PoV. @Shalini: could you verify that things work out fine
(provided we get at least a preliminary blessing from Connie).
Consider squashing into "s390x/css: un
--
Hi!
About indicating this at the ccw devices instead of, e.g. as a machine
property (or otherwise globally), was requested by our libvirt guys. I
have no strong opinion regarding in this matter.
This patch is intended as a discussion starter. I would at least like to
get a Tested-by by Shalini b
58 matches
Mail list logo