qemu/include/hw/s390x
Janosch Frank c3347ed0d2 s390x: protvirt: Support unpack facility
The unpack facility provides the means to setup a protected guest. A
protected guest cannot be introspected by the hypervisor or any
user/administrator of the machine it is running on.

Protected guests are encrypted at rest and need a special boot
mechanism via diag308 subcode 8 and 10.

Code 8 sets the PV specific IPLB which is retained separately from
those set via code 5.

Code 10 is used to unpack the VM into protected memory, verify its
integrity and start it.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Co-developed-by: Christian Borntraeger <borntraeger@de.ibm.com> [Changes
to machine]
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200323083606.24520-1-frankja@linux.ibm.com>
[CH: fixed up KVM_PV_VM_ -> KVM_PV_]
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2020-04-29 14:30:54 +02:00
..
3270-ccw.h s390x/3270: IDA support for 3270 via CcwDataStream 2017-10-06 10:53:02 +02:00
adapter.h s390x/virtio-ccw: wire up irq routing and irqfds 2014-05-20 13:05:58 +02:00
ap-bridge.h s390x/ap: base Adjunct Processor (AP) object model 2018-10-12 11:32:18 +02:00
ap-device.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
css-bridge.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
css.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
ebcdic.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
event-facility.h misc: Replace zero-length arrays with flexible array member (manual) 2020-03-16 22:07:42 +01:00
ioinst.h hw/s390x/ioinst: Fix alignment problem in struct SubchDev 2018-10-04 10:32:38 +02:00
pv.h s390x: protvirt: Support unpack facility 2020-04-29 14:30:54 +02:00
s390-ccw.h vfio-ccw: support async command subregion 2019-06-24 17:27:57 +02:00
s390-virtio-ccw.h s390x: protvirt: Support unpack facility 2020-04-29 14:30:54 +02:00
s390_flic.h s390x/flic: cache the common flic class in a central function 2018-02-09 09:37:13 +01:00
sclp.h misc: Replace zero-length arrays with flexible array member (manual) 2020-03-16 22:07:42 +01:00
storage-attributes.h Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
storage-keys.h Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
tod.h Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vfio-ccw.h s390 vfio-ccw: Add bootindex property and IPLB data 2019-04-12 12:39:52 +02:00