diff options
author | Jared Rossi <jrossi@linux.ibm.com> | 2024-10-19 21:29:48 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-10-23 06:53:44 +0200 |
commit | bb185de42339025db9bbd5aa11f3f644c2a077f8 (patch) | |
tree | b6e4acff235293cd134171499a83a7efdf7ec0d5 /include | |
parent | ba3658adc80a9370257a9c4e114829ec691311e3 (diff) | |
download | qemu-bb185de42339025db9bbd5aa11f3f644c2a077f8.zip qemu-bb185de42339025db9bbd5aa11f3f644c2a077f8.tar.gz qemu-bb185de42339025db9bbd5aa11f3f644c2a077f8.tar.bz2 |
s390x: Add individual loadparm assignment to CCW device
Add a loadparm property to the VirtioCcwDevice object so that different
loadparms can be defined on a per-device basis for CCW boot devices.
The machine/global loadparm is still supported. If both a global and per-device
loadparm are defined, the per-device value will override the global value for
that device, but any other devices that do not specify a per-device loadparm
will still use the global loadparm.
It is invalid to assign a loadparm to a non-boot device.
Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241020012953.1380075-15-jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/s390x/ipl/qipl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/ipl/qipl.h b/include/hw/s390x/ipl/qipl.h index 0ef04af..b67d2ae 100644 --- a/include/hw/s390x/ipl/qipl.h +++ b/include/hw/s390x/ipl/qipl.h @@ -18,6 +18,7 @@ #define QIPL_ADDRESS 0xcc #define LOADPARM_LEN 8 +#define NO_LOADPARM "\0\0\0\0\0\0\0\0" /* * The QEMU IPL Parameters will be stored at absolute address |