Re: [PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-13 Thread Claudio Imbrenda
On Wed, 11 Mar 2020 09:21:38 -0400 Janosch Frank wrote: > 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

Re: [PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-13 Thread Janosch Frank
On 3/12/20 9:33 AM, Christian Borntraeger wrote: > > > On 11.03.20 14:21, Janosch Frank wrote: > [...] >> diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c >> index b81942e1e6f9002e..98df89e62c25f583 100644 >> --- a/hw/s390x/ipl.c >> +++ b/hw/s390x/ipl.c >> @@ -27,6 +27,7 @@ >> #include

Re: [PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-12 Thread Janosch Frank
On 3/11/20 5:07 PM, David Hildenbrand wrote: > >> +++ b/include/hw/s390x/pv.h >> @@ -0,0 +1,57 @@ >> +/* >> + * Protected Virtualization header >> + * >> + * Copyright IBM Corp. 2020 >> + * Author(s): >> + * Janosch Frank >> + * >> + * This work is licensed under the terms of the GNU GPL,

Re: [PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-12 Thread Christian Borntraeger
On 11.03.20 14:21, Janosch Frank wrote: [...] > diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c > index b81942e1e6f9002e..98df89e62c25f583 100644 > --- a/hw/s390x/ipl.c > +++ b/hw/s390x/ipl.c > @@ -27,6 +27,7 @@ > #include "hw/s390x/vfio-ccw.h" > #include "hw/s390x/css.h" > #include

Re: [PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-11 Thread David Hildenbrand
> +++ b/include/hw/s390x/pv.h > @@ -0,0 +1,57 @@ > +/* > + * Protected Virtualization header > + * > + * Copyright IBM Corp. 2020 > + * Author(s): > + * Janosch Frank > + * > + * This work is licensed under the terms of the GNU GPL, version 2 or (at > + * your option) any later version. See

[PATCH v9 02/15] s390x: protvirt: Support unpack facility

2020-03-11 Thread Janosch Frank
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