hw/s390x: provide loadparm property for the machine
commit7104bae9de560e7f9f00b2bef4b8c791cdd59c7f
authorFarhan Ali <alifm@linux.vnet.ibm.com>
Tue, 29 Mar 2016 14:18:47 +0000 (29 16:18 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 2 May 2017 13:08:54 +0000 (2 15:08 +0200)
tree2251b92c75cd945757f21b67f1388154854568d4
parent38bb54f323bf7c83496b6a044cfd28896e997a00
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 <jno@linux.vnet.ibm.com>
Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/s390-virtio-ccw.h