s390x and misc patches
Hi Stefan!
The following changes since commit f9a3def17b2a57679902c33064cf7853263db0ef:
Merge tag 'pull-tcg-20250623' of https://gitlab.com/rth7680/qemu into staging (2025-06-24 10:38:38 -0400)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2025-06-26
for you to fetch changes up to fd68168e0af14546117705176ace84d2c6c52416:
target/i386/emulate: replace FSF postal address with licenses URL (2025-06-26 00:42:37 +0200)
----------------------------------------------------------------
* Implement the "Control Program Identification" feature on s390x
* Fix memory leak in loadparm setter on s390x
* Update OpenBSD image to 7.7
* Replace the invalid address of the Free Software Foundation
* Some updates to the MAINTAINERS file
----------------------------------------------------------------
Haseung Bong (1):
tests/vm: update openbsd image to 7.7
Kevin Wolf (1):
hw/s390x/ccw-device: Fix memory leak in loadparm setter
Matthew Rosato (1):
MAINTAINERS: add reviewers for some s390 areas
Sean Wei (11):
COPYING: replace FSF postal address with licenses URL
libdecnumber: replace FSF postal address with licenses URL include/libdecnumber: replace FSF postal address with licenses URL include/hw: replace FSF postal address with licenses URL include/qemu: replace FSF postal address with licenses URL util/rcu.c: replace FSF postal address with licenses URL
hw: replace FSF postal address with licenses URL
scripts: replace FSF postal address with licenses URL
contrib: replace FSF postal address with licenses URL target/xtensa: replace FSF postal address with licenses URL target/i386/emulate: replace FSF postal address with licenses URL
Shalini Chellathurai Saroja (3):
hw/s390x: add SCLP event type CPI
hw/s390x: add Control-Program Identification to QOM
hw/s390x: support migration of CPI dataThomas Huth (1):
tests/functional/test_pc_cpu_hotplug_props: Set 'pc' machine type explicitly
Yoshinori Sato (1):
MAINTAINERS: Yoshinori Sato email address has been updated
MAINTAINERS | 24 ++- hw/net/vmxnet3.h | 4 +- hw/scsi/vmw_pvscsi.h | 4 +- include/hw/i2c/aspeed_i2c.h | 3 +- include/hw/pci/pci_bridge.h | 4 +- include/hw/s390x/event-facility.h | 17 ++ include/hw/s390x/s390-virtio-ccw.h | 1 + include/hw/timer/aspeed_timer.h | 3 +- include/libdecnumber/dconfig.h | 5 +- include/libdecnumber/decContext.h | 5 +- include/libdecnumber/decDPD.h | 5 +- include/libdecnumber/decNumber.h | 5 +- include/libdecnumber/decNumberLocal.h | 5 +- include/libdecnumber/dpd/decimal128.h | 5 +- include/libdecnumber/dpd/decimal128Local.h | 5 +- include/libdecnumber/dpd/decimal32.h | 5 +- include/libdecnumber/dpd/decimal64.h | 5 +- include/qemu/rcu.h | 4 +- include/qemu/rcu_queue.h | 4 +- target/i386/emulate/x86_flags.h | 4 +- contrib/elf2dmp/pdb.c | 4 +- hw/s390x/ccw-device.c | 2 +- hw/s390x/event-facility.c | 2 + hw/s390x/s390-virtio-ccw.c | 22 +++ hw/s390x/sclpcpi.c | 212 +++++++++++++++++++++++++ libdecnumber/decContext.c | 5 +- libdecnumber/decNumber.c | 5 +- libdecnumber/dpd/decimal128.c | 5 +- libdecnumber/dpd/decimal32.c | 5 +- libdecnumber/dpd/decimal64.c | 5 +- target/i386/emulate/x86_emu.c | 4 +- target/i386/emulate/x86_flags.c | 4 +- util/rcu.c | 4 +- target/xtensa/core-dc232b/gdb-config.c.inc | 5 +- target/xtensa/core-dc232b/xtensa-modules.c.inc | 5 +- target/xtensa/core-fsf/xtensa-modules.c.inc | 5 +- COPYING | 5 +- COPYING.LIB | 5 +- hw/s390x/meson.build | 1 + scripts/device-crash-test | 3 +- tests/functional/test_pc_cpu_hotplug_props.py | 1 + tests/vm/openbsd | 4 +- 42 files changed, 338 insertions(+), 92 deletions(-) create mode 100644 hw/s390x/sclpcpi.c
[PULL 02/19] MAINTAINERS: Yoshinori Sato email address has been updated
From: Yoshinori Sato <[email protected]>
The email address <[email protected]> has been suspended. I have prepared a new email address.
Message-ID: <[email protected]>
--- MAINTAINERS | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
MAINTAINERS +6 -6
@@ -352,7 +352,7 @@ F: target/riscv/insn_trans/trans_xventanacondops.c.inc F: disas/riscv-xventana* RENESAS RX CPUs -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> S: Orphan F: target/rx/
@@ -368,7 +368,7 @@ F: tests/tcg/s390x/ L: [email protected] SH4 TCG CPUs -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> S: Orphan F: target/sh4/ F: hw/sh4/
@@ -1696,7 +1696,7 @@ F: docs/system/riscv/microblaze-v-generic.rst RX Machines ----------- rx-gdbsim -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> S: Orphan F: docs/system/target-rx.rst F: hw/rx/rx-gdbsim.c
@@ -1705,7 +1705,7 @@ F: tests/functional/test_rx_gdbsim.py SH4 Machines ------------ R2D -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> R: Magnus Damm <[email protected]> S: Odd Fixes F: hw/char/sh_serial.c
@@ -2756,7 +2756,7 @@ F: tests/qtest/*xive* F: docs/*/*xive* Renesas peripherals -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> R: Magnus Damm <[email protected]> S: Odd Fixes F: hw/char/renesas_sci.c
@@ -2768,7 +2768,7 @@ F: include/hw/sh4/sh.h F: include/hw/timer/renesas_*.h Renesas RX peripherals -R: Yoshinori Sato <[email protected]> +R: Yoshinori Sato <[email protected]> S: Orphan F: hw/intc/rx_icu.c F: hw/rx/
Signature · 1 line
2.50.0
[PULL 04/19] hw/s390x: add Control-Program Identification to QOM
In reply to Thomas HuthFrom: Shalini Chellathurai Saroja <[email protected]>
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-command vm --pretty '{"execute":"qom-list", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi"}}' {
"return": [
[...]
{
"name": "system_level",
"type": "uint64"
},
{
"name": "system_name",
"type": "string"
},
{
"name": "system_type",
"type": "string"
},
{
"name": "timestamp",
"type": "uint64"
},
{
"name": "sysplex_name",
"type": "string"
} ],
"id": "libvirt-14"
}
Example CPI data:
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi", "property":"system_type"}}'
{
"return": "LINUX ",
"id": "libvirt-18"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi", "property":"system_name"}}'
{
"return": "TESTVM ",
"id": "libvirt-19"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi", "property":"sysplex_name"}}'
{
"return": "PLEX ",
"id": "libvirt-20"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi", "property":"system_level"}}'
{
"return": 74872343805430528,
"id": "libvirt-21"
}
virsh # qemu-monitor-command vm --pretty '{"execute":"qom-get", "arguments":{"path":"/machine/sclp/s390-sclp-event-facility/sclpcpi", "property":"timestamp"}}'
{
"return": 1748866753433923000,
"id": "libvirt-22"
}
Message-ID: <[email protected]>
--- include/hw/s390x/event-facility.h | 5 +++ hw/s390x/sclpcpi.c | 74 +++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+)
include/hw/s390x/event-facility.h +5 -0
@@ -201,6 +201,11 @@ OBJECT_DECLARE_TYPE(SCLPEventCPI, SCLPEventCPIClass,struct SCLPEventCPI {SCLPEvent event; +uint8_t system_type[8 ]; +uint8_t system_name[8 ]; +uint64_t system_level; +uint8_t sysplex_name[8 ]; +uint64_t timestamp; };#define TYPE_SCLP_EVENT_FACILITY "s390-sclp-event-facility"
hw/s390x/sclpcpi.c +74 -0
98 lines not on this page · raw message
Signature · 1 line
2.50.0
[PULL 08/19] tests/vm: update openbsd image to 7.7
In reply to Thomas HuthFrom: Haseung Bong <[email protected]>
Update tests/vm/openbsd to release 7.7
Message-ID: <[email protected]>
--- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/vm/openbsd +2 -2
@@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM): name = "openbsd" arch = "x86_64" - link = "https://cdn.openbsd.org/pub/OpenBSD/7.6/amd64/install76.iso" - csum = "60cba8cb391b50bba8fa10fc768bd0529636f5345d82133c93e22c798d8e5269" + link = "https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/install77.iso" + csum = "da0106e39463f015524dca806f407c37a9bdd17e6dfffe533b06a2dd2edd8a27" size = "20G" pkgs = [ # tools
Signature · 1 line
2.50.0
[PULL 09/19] COPYING: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The license text in COPYING (GPLv2), COPYING.LIB (LGPLv2.1), and the linux-headers/LICENSES/preferred/GPL-2.0 file are referenced to the obsolete FSF postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- COPYING | 5 ++--- COPYING.LIB | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-)
COPYING +2 -3
@@ -2,7 +2,7 @@ Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
@@ -304,8 +304,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + with this program; if not, see <https://www.gnu.org/licenses/>. Also add information on how to contact you by electronic and paper mail.
COPYING.LIB +2 -3
@@ -2,7 +2,7 @@ Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
@@ -484,8 +484,7 @@ convey the exclusion of warranty; and each file should have at least the Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + License along with this library; if not, see <https://www.gnu.org/licenses/>. Also add information on how to contact you by electronic and paper mail.
Signature · 1 line
2.50.0
[PULL 11/19] include/libdecnumber: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Some of the GPLv2 boiler-plate still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- include/libdecnumber/dconfig.h | 5 ++--- include/libdecnumber/decContext.h | 5 ++--- include/libdecnumber/decDPD.h | 5 ++--- include/libdecnumber/decNumber.h | 5 ++--- include/libdecnumber/decNumberLocal.h | 5 ++--- include/libdecnumber/dpd/decimal128.h | 5 ++--- include/libdecnumber/dpd/decimal128Local.h | 5 ++--- include/libdecnumber/dpd/decimal32.h | 5 ++--- include/libdecnumber/dpd/decimal64.h | 5 ++--- 9 files changed, 18 insertions(+), 27 deletions(-)
include/libdecnumber/dconfig.h +2 -3
@@ -23,9 +23,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. */ #if HOST_BIG_ENDIAN
include/libdecnumber/decContext.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal Context module header */
include/libdecnumber/decDPD.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------------ */ /* Binary Coded Decimal and Densely Packed Decimal conversion lookup tables */
include/libdecnumber/decNumber.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal Number arithmetic module header */
include/libdecnumber/decNumberLocal.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* decNumber package local type, tuning, and macro definitions */
include/libdecnumber/dpd/decimal128.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 128-bit format module header */
include/libdecnumber/dpd/decimal128Local.h +2 -3
@@ -23,9 +23,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. */#if !defined(DECIMAL128LOCAL )
include/libdecnumber/dpd/decimal32.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 32-bit format module header */
include/libdecnumber/dpd/decimal64.h +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 64-bit format module header */
Signature · 1 line
2.50.0
[PULL 07/19] hw/s390x/ccw-device: Fix memory leak in loadparm setter
In reply to Thomas HuthFrom: Kevin Wolf <[email protected]>
Commit bdf12f2a fixed the setter for the "loadparm" machine property, which gets a string from a visitor, passes it to s390_ipl_fmt_loadparm() and then forgot to free it. It left another instance of the same problem unfixed in the "loadparm" device property. Fix it.
Message-ID: <[email protected]>
--- hw/s390x/ccw-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/ccw-device.c +1 -1
@@ -57,7 +57,7 @@ static void ccw_device_set_loadparm(Object *obj, Visitor *v, Error **errp) {CcwDevice *dev =CCW_DEVICE (obj); -char *val; + g_autofree char *val = NULL;int index; index =object_property_get_int (obj,"bootindex" ,NULL );
Signature · 1 line
2.50.0
[PULL 05/19] hw/s390x: support migration of CPI data
In reply to Thomas HuthFrom: Shalini Chellathurai Saroja <[email protected]>
Register Control-Program Identification data with the live migration infrastructure.
Message-ID: <[email protected]>
--- hw/s390x/sclpcpi.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
hw/s390x/sclpcpi.c +15 -0
@@ -54,6 +54,7 @@#include "hw/s390x/event-facility.h" #include "hw/s390x/ebcdic.h" #include "qapi/qapi-visit-machine.h" +#include "migration/vmstate.h" typedef struct Data { uint8_t id_format;
@@ -145,12 +146,26 @@ static void get_timestamp(Object *obj, Visitor *v, const char *name,visit_type_uint64 (v, name, &e->timestamp, errp); } +static const VMStateDescription vmstate_sclpcpi = { + .name ="s390_control_program_id" , + .version_id =0 , + .fields = (const VMStateField []) { +VMSTATE_UINT8_ARRAY (system_type, SCLPEventCPI,8 ), +VMSTATE_UINT8_ARRAY (system_name, SCLPEventCPI,8 ), +VMSTATE_UINT64 (system_level, SCLPEventCPI), +VMSTATE_UINT8_ARRAY (sysplex_name, SCLPEventCPI,8 ), +VMSTATE_UINT64 (timestamp, SCLPEventCPI), +VMSTATE_END_OF_LIST () + } +}; +static void cpi_class_init (ObjectClass *klass,const void *data) {DeviceClass *dc =DEVICE_CLASS (klass);SCLPEventClass *k =SCLP_EVENT_CLASS (klass); dc->user_creatable = false; + dc->vmsd = &vmstate_sclpcpi; k->can_handle_event = can_handle_event; k->get_send_mask = send_mask;
Signature · 1 line
2.50.0
[PULL 15/19] hw: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The GPLv2 boiler-plate in vmxnet3.h and vmw_pvscsi.h still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- hw/net/vmxnet3.h | 4 ++-- hw/scsi/vmw_pvscsi.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
hw/net/vmxnet3.h +2 -2
@@ -63,8 +63,8 @@* details. * * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +* along with this program; if not, see +* <https://www.gnu.org/licenses/>. * * The full GNU General Public License is included in this distribution in * the file called "COPYING".
hw/scsi/vmw_pvscsi.h +2 -2
@@ -14,8 +14,8 @@* details. * * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +* along with this program; if not, see +* <https://www.gnu.org/licenses/>. * * Maintained by: Arvind Kumar <[email protected]> *
Signature · 1 line
2.50.0
[PULL 12/19] include/hw: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Some of the GPLv2 boiler-plate still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- include/hw/i2c/aspeed_i2c.h | 3 +-- include/hw/pci/pci_bridge.h | 4 ++-- include/hw/timer/aspeed_timer.h | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-)
include/hw/i2c/aspeed_i2c.h +1 -2
@@ -14,8 +14,7 @@* GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef ASPEED_I2C_H
include/hw/pci/pci_bridge.h +2 -2
@@ -14,8 +14,8 @@* GNU General Public License for more details. * * You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +* along with this program; if not, see +* <https://www.gnu.org/licenses/>. * * split out pci bus specific stuff from pci.[hc] to pci_bridge.[hc] * Copyright (c) 2009 Isaku Yamahata <yamahata at valinux co jp>
include/hw/timer/aspeed_timer.h +1 -2
@@ -16,8 +16,7 @@* GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef ASPEED_TIMER_H #define ASPEED_TIMER_H
Signature · 1 line
2.50.0
[PULL 17/19] contrib: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The LGPLv2.1 boiler-plate in pdb.c file still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- contrib/elf2dmp/pdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
contrib/elf2dmp/pdb.c +2 -2
@@ -14,8 +14,8 @@* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, write to the Free Software -* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +* License along with this library; if not, see +* <https://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
Signature · 1 line
2.50.0
[PULL 14/19] util/rcu.c: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The LGPLv2.1 boiler-plate in util/rcu.c still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- util/rcu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
util/rcu.c +2 -2
@@ -20,8 +20,8 @@* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +* License along with this library; if not, see +* <https://www.gnu.org/licenses/>. * * IBM's contributions to this file may be relicensed under LGPLv2 or later. */
Signature · 1 line
2.50.0
[PULL 18/19] target/xtensa: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Some of the GPLv2 boiler-plate still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- target/xtensa/core-dc232b/gdb-config.c.inc | 5 ++--- target/xtensa/core-dc232b/xtensa-modules.c.inc | 5 ++--- target/xtensa/core-fsf/xtensa-modules.c.inc | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-)
target/xtensa/core-dc232b/gdb-config.c.inc +2 -3
@@ -15,9 +15,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program; if not, see + <https://www.gnu.org/licenses/>. */ XTREG(0, 0, 32, 4, 4, 0x0020, 0x0006, -2, 9, 0x0100, pc, 0, 0, 0, 0, 0, 0)
target/xtensa/core-dc232b/xtensa-modules.c.inc +2 -3
@@ -14,9 +14,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program; if not, see + <https://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "xtensa-isa.h"
target/xtensa/core-fsf/xtensa-modules.c.inc +2 -3
@@ -14,9 +14,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program; if not, see + <https://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" #include "xtensa-isa.h"
Signature · 1 line
2.50.0
[PULL 13/19] include/qemu: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The LGPLv2.1 boiler-plate in rcu.h and rcu_queue.h still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- include/qemu/rcu.h | 4 ++-- include/qemu/rcu_queue.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
include/qemu/rcu.h +2 -2
@@ -17,8 +17,8 @@* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +* License along with this library; if not, see +* <https://www.gnu.org/licenses/>. * * IBM's contributions to this file may be relicensed under LGPLv2 or later. */
include/qemu/rcu_queue.h +2 -2
@@ -17,8 +17,8 @@* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +* License along with this library; if not, see +* <https://www.gnu.org/licenses/>. * * Copyright (c) 2013 Mike D. Day, IBM Corporation. *
Signature · 1 line
2.50.0
[PULL 16/19] scripts: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
The GPLv2 boiler-plate in scripts/device-crash-test still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- scripts/device-crash-test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
scripts/device-crash-test +1 -2
@@ -16,8 +16,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# with this program; if not, see <https://www.gnu.org/licenses/>. """ Run QEMU with all combinations of -machine and -device types,
Signature · 1 line
2.50.0
[PULL 01/19] tests/functional/test_pc_cpu_hotplug_props: Set 'pc' machine type explicitly
In reply to Thomas HuthFrom: Thomas Huth <[email protected]>
In case the default machine has not been compiled into the QEMU binary, the cpu_hotplug_props test is currently failing. Add a set_machine('pc') here to make sure that the tests are correctly skipped in case the machine is not available.
Message-ID: <[email protected]>
--- tests/functional/test_pc_cpu_hotplug_props.py | 1 + 1 file changed, 1 insertion(+)
tests/functional/test_pc_cpu_hotplug_props.py +1 -0
@@ -26,6 +26,7 @@ class OmittedCPUProps(QemuSystemTest): def test_no_die_id(self): + self.set_machine('pc') self.vm.add_args('-nodefaults', '-S') self.vm.add_args('-smp', '1,sockets=2,cores=2,threads=2,maxcpus=8') self.vm.add_args('-device', 'qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0')
Signature · 1 line
2.50.0
[PULL 06/19] MAINTAINERS: add reviewers for some s390 areas
In reply to Thomas HuthFrom: Matthew Rosato <[email protected]>
To improve review coverage, assign additional people as reviewers for multiple s390 sections.
Message-ID: <[email protected]>
--- MAINTAINERS | 12 ++++++++++++ 1 file changed, 12 insertions(+)
MAINTAINERS +12 -0
@@ -459,6 +459,8 @@ F: target/ppc/kvm.c S390 KVM CPUs M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Eric Farman <[email protected]> +R: Matthew Rosato <[email protected]> S: Supported F: target/s390x/kvm/ F: target/s390x/machine.c
@@ -1771,6 +1773,7 @@ S390 Virtio-ccw M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> M: Eric Farman <[email protected]> +R: Matthew Rosato <[email protected]> S: Supported F: hw/s390x/ F: include/hw/s390x/
@@ -1782,6 +1785,8 @@ L: [email protected] S390-ccw boot M: Christian Borntraeger <[email protected]> M: Thomas Huth <[email protected]> +R: Jared Rossi <[email protected]> +R: Zhuoying Cai <[email protected]> S: Supported F: hw/s390x/ipl.* F: pc-bios/s390-ccw/
@@ -1802,6 +1807,7 @@ S390 channel subsystem M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> M: Eric Farman <[email protected]> +R: Farhan Ali <[email protected]> S: Supported F: hw/s390x/ccw-device.[ch] F: hw/s390x/css.c
@@ -1822,6 +1828,7 @@ L: [email protected] S390 SCLP-backed devices M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Jason Herne <[email protected]> S: Supported F: include/hw/s390x/event-facility.h F: include/hw/s390x/sclp.h
@@ -2809,6 +2816,7 @@ F: include/hw/timer/mips_gictimer.h S390 3270 device M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Collin Walling <[email protected]> S: Odd fixes F: include/hw/s390x/3270-ccw.h F: hw/char/terminal3270.c
@@ -2818,6 +2826,7 @@ L: [email protected] S390 diag 288 watchdog M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Collin Walling <[email protected]> S: Supported F: hw/watchdog/wdt_diag288.c F: include/hw/watchdog/wdt_diag288.h
@@ -2826,6 +2835,7 @@ L: [email protected] S390 storage key device M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Jason Herne <[email protected]> S: Supported F: hw/s390x/storage-keys.h F: hw/s390x/s390-skeys*.c
@@ -2834,6 +2844,7 @@ L: [email protected] S390 storage attribute device M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> +R: Jason Herne <[email protected]> S: Supported F: hw/s390x/storage-attributes.h F: hw/s390x/s390-stattrib*.c
@@ -2843,6 +2854,7 @@ S390 floating interrupt controller M: Halil Pasic <[email protected]> M: Christian Borntraeger <[email protected]> M: David Hildenbrand <[email protected]> +R: Jason Herne <[email protected]> S: Supported F: hw/intc/s390_flic*.c F: include/hw/s390x/s390_flic.h
Signature · 1 line
2.50.0
[PULL 03/19] hw/s390x: add SCLP event type CPI
In reply to Thomas HuthFrom: Shalini Chellathurai Saroja <[email protected]>
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 are: system type, system name, system level and sysplex name.
System type: operating system of 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. 74872343805430528).
Sysplex name: name of the cluster which the guest belongs to (if any) (e.g. "PLEX").
The SCLP event CPI is supported only from "s390-ccw-virtio-10.1" machine and higher.
Message-ID: <[email protected]>
--- include/hw/s390x/event-facility.h | 12 +++ include/hw/s390x/s390-virtio-ccw.h | 1 + hw/s390x/event-facility.c | 2 + hw/s390x/s390-virtio-ccw.c | 22 ++++++ hw/s390x/sclpcpi.c | 123 +++++++++++++++++++++++++++++ hw/s390x/meson.build | 1 + 6 files changed, 161 insertions(+) create mode 100644 hw/s390x/sclpcpi.c
include/hw/s390x/event-facility.h +12 -0
@@ -25,6 +25,7 @@#define SCLP_EVENT_MESSAGE 0x02#define SCLP_EVENT_CONFIG_MGT_DATA 0x04#define SCLP_EVENT_PMSGCMD 0x09 +#define SCLP_EVENT_CTRL_PGM_ID 0x0b#define SCLP_EVENT_ASCII_CONSOLE_DATA 0x1a#define SCLP_EVENT_SIGNAL_QUIESCE 0x1d
@@ -35,6 +36,7 @@#define SCLP_EVENT_MASK_MSG SCLP_EVMASK(SCLP_EVENT_MESSAGE)#define SCLP_EVENT_MASK_CONFIG_MGT_DATA SCLP_EVMASK(SCLP_EVENT_CONFIG_MGT_DATA)#define SCLP_EVENT_MASK_PMSGCMD SCLP_EVMASK(SCLP_EVENT_PMSGCMD) +#define SCLP_EVENT_MASK_CTRL_PGM_ID SCLP_EVMASK(SCLP_EVENT_CTRL_PGM_ID)#define SCLP_EVENT_MASK_MSG_ASCII SCLP_EVMASK(SCLP_EVENT_ASCII_CONSOLE_DATA)#define SCLP_EVENT_MASK_SIGNAL_QUIESCE SCLP_EVMASK(SCLP_EVENT_SIGNAL_QUIESCE)
@@ -191,6 +193,16 @@ struct SCLPEventClass {bool (*can_handle_event)(uint8_t type); }; +#define TYPE_SCLP_EVENT_CPI "sclpcpi" +typedef struct SCLPEventCPIClass SCLPEventCPIClass ; +typedef struct SCLPEventCPI SCLPEventCPI ; +OBJECT_DECLARE_TYPE (SCLPEventCPI, SCLPEventCPIClass, + SCLP_EVENT_CPI) + +struct SCLPEventCPI { +SCLPEvent event; +}; +#define TYPE_SCLP_EVENT_FACILITY "s390-sclp-event-facility"typedef struct SCLPEventFacility SCLPEventFacility ;typedef struct SCLPEventFacilityClass SCLPEventFacilityClass ;
include/hw/s390x/s390-virtio-ccw.h +1 -0
@@ -54,6 +54,7 @@ struct S390CcwMachineClass {/*< public >*/ int max_threads; + bool use_cpi; };#endif
hw/s390x/event-facility.c +2 -0
@@ -4,6 +4,7 @@* handles SCLP event types * - Signal Quiesce - system power down * - ASCII Console Data - VT220 read and write +* - Control-Program Identification - Send OS data from guest to host * * Copyright IBM, Corp. 2012 *
@@ -40,6 +41,7 @@ struct SCLPEventFacility {SysBusDevice parent_obj;SCLPEventsBus sbus;SCLPEvent quiesce, cpu_hotplug; +SCLPEventCPI cpi;/* guest's receive mask */ union {uint32_t receive_mask_pieces[2 ];
hw/s390x/s390-virtio-ccw.c +22 -0
@@ -260,9 +260,21 @@ static void s390_create_sclpconsole(SCLPDevice *sclp,qdev_realize_and_unref (dev, ev_fac_bus, &error_fatal); } +static void s390_create_sclpcpi (SCLPDevice *sclp) +{ +SCLPEventFacility *ef = sclp->event_facility; +BusState *ev_fac_bus =sclp_get_event_facility_bus (ef); +DeviceState *dev; + + dev =qdev_new (TYPE_SCLP_EVENT_CPI ); +object_property_add_child (OBJECT (ef),"sclpcpi" ,OBJECT (dev)); +qdev_realize_and_unref (dev, ev_fac_bus, &error_fatal); +} +static void ccw_init (MachineState *machine) {MachineClass *mc =MACHINE_GET_CLASS (machine); +S390CcwMachineClass *s390mc =S390_CCW_MACHINE_CLASS (mc);S390CcwMachineState *ms =S390_CCW_MACHINE (machine);int ret;VirtualCssBus *css_bus;
@@ -323,6 +335,12 @@ static void ccw_init(MachineState *machine)/* init the TOD clock */ s390_init_tod (); + +/* init SCLP event Control-Program Identification */ +if (s390mc->use_cpi) { +s390_create_sclpcpi (ms->sclp); + } + } static void s390_cpu_plug(HotplugHandler *hotplug_dev,
@@ -783,6 +801,7 @@ static void ccw_machine_class_init(ObjectClass *oc, const void *data)DumpSKeysInterface *dsi =DUMP_SKEYS_INTERFACE_CLASS (oc); s390mc->max_threads =1 ; + s390mc->use_cpi = true; mc->reset = s390_machine_reset; mc->block_default_type =IF_VIRTIO ; mc->no_cdrom =1 ;
@@ -908,6 +927,9 @@ static void ccw_machine_10_0_instance_options(MachineState *machine)static void ccw_machine_10_0_class_options (MachineClass *mc) { +S390CcwMachineClass *s390mc =S390_CCW_MACHINE_CLASS (mc); + s390mc->use_cpi = false; +ccw_machine_10_1_class_options (mc);compat_props_add (mc->compat_props, hw_compat_10_0, hw_compat_10_0_len); }
hw/s390x/sclpcpi.c new file +123 -0
123 lines not on this page · raw message
hw/s390x/meson.build +1 -0
@@ -13,6 +13,7 @@ s390x_ss.add(files( 's390-skeys.c', 's390-stattrib.c', 'sclp.c', + 'sclpcpi.c', 'sclpcpu.c', 'sclpquiesce.c', 'tod.c',
Signature · 1 line
2.50.0
[PULL 19/19] target/i386/emulate: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Some of the LGPLv2.1 boiler-plate still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- target/i386/emulate/x86_flags.h | 4 ++-- target/i386/emulate/x86_emu.c | 4 ++-- target/i386/emulate/x86_flags.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
target/i386/emulate/x86_flags.h +2 -2
@@ -14,8 +14,8 @@// Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA +// License along with this library; if not, see +// <https://www.gnu.org/licenses/>. ///////////////////////////////////////////////////////////////////////// /* * x86 eflags functions
target/i386/emulate/x86_emu.c +2 -2
@@ -31,8 +31,8 @@// Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA +// License along with this library; if not, see +// <https://www.gnu.org/licenses/>. ///////////////////////////////////////////////////////////////////////// #include "qemu/osdep.h"
target/i386/emulate/x86_flags.c +2 -2
@@ -14,8 +14,8 @@// Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA +// License along with this library; if not, see +// <https://www.gnu.org/licenses/>. ///////////////////////////////////////////////////////////////////////// /* * flags functions
Signature · 1 line
2.50.0
[PULL 10/19] libdecnumber: replace FSF postal address with licenses URL
In reply to Thomas HuthFrom: Sean Wei <[email protected]>
Some of the GPLv2 boiler-plate still contained the obsolete "51 Franklin Street" postal address.
Replace it with the canonical GNU licenses URL recommended by the FSF:
https://www.gnu.org/licenses/
Message-ID: <[email protected]>
--- libdecnumber/decContext.c | 5 ++--- libdecnumber/decNumber.c | 5 ++--- libdecnumber/dpd/decimal128.c | 5 ++--- libdecnumber/dpd/decimal32.c | 5 ++--- libdecnumber/dpd/decimal64.c | 5 ++--- 5 files changed, 10 insertions(+), 15 deletions(-)
libdecnumber/decContext.c +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal Context module */
libdecnumber/decNumber.c +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal Number arithmetic module */
libdecnumber/dpd/decimal128.c +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 128-bit format module */
libdecnumber/dpd/decimal32.c +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 32-bit format module */
libdecnumber/dpd/decimal64.c +2 -3
@@ -24,9 +24,8 @@ for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ + along with GCC; see the file COPYING. If not, see + <https://www.gnu.org/licenses/>. *//* ------------------------------------------------------------------ */ /* Decimal 64-bit format module */
Signature · 1 line
2.50.0
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.