From 7104bae9de560e7f9f00b2bef4b8c791cdd59c7f Mon Sep 17 00:00:00 2001 From: Farhan Ali Date: Tue, 29 Mar 2016 16:18:47 +0200 Subject: hw/s390x: provide loadparm property for the machine In order to specify the LOADPARM value one may now add ",loadparm=xxx" parameter to the "-machine s390-ccw-virtio" option. The property setter will normalize and check the value provided much like the way the HMC does. The value is stored, but not used at the moment. Initial patch from Eugene (jno) Dvurechenski. Signed-off-by: Eugene (jno) Dvurechenski Signed-off-by: Farhan Ali Reviewed-by: Christian Borntraeger Signed-off-by: Cornelia Huck --- include/hw/s390x/s390-virtio-ccw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hw/s390x/s390-virtio-ccw.h b/include/hw/s390x/s390-virtio-ccw.h index 6ecae00..7b8a3e4 100644 --- a/include/hw/s390x/s390-virtio-ccw.h +++ b/include/hw/s390x/s390-virtio-ccw.h @@ -28,6 +28,7 @@ typedef struct S390CcwMachineState { /*< public >*/ bool aes_key_wrap; bool dea_key_wrap; + uint8_t loadparm[8]; } S390CcwMachineState; typedef struct S390CcwMachineClass { -- cgit v1.1