Re: [PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code

2021-01-28 Thread David Gibson
On Mon, Jan 18, 2021 at 09:03:36AM +0100, Cornelia Huck wrote: > On Mon, 18 Jan 2021 14:03:08 +1100 > David Gibson wrote: > > > On Fri, Jan 15, 2021 at 02:24:25PM +0100, Cornelia Huck wrote: > > > On Thu, 14 Jan 2021 10:58:06 +1100 > > > David Gibson wrote: > > > > > > > While we've

Re: [PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code

2021-01-18 Thread Cornelia Huck
On Mon, 18 Jan 2021 14:03:08 +1100 David Gibson wrote: > On Fri, Jan 15, 2021 at 02:24:25PM +0100, Cornelia Huck wrote: > > On Thu, 14 Jan 2021 10:58:06 +1100 > > David Gibson wrote: > > > > > While we've abstracted some (potential) differences between mechanisms for > > > securing guest

Re: [PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code

2021-01-17 Thread David Gibson
On Fri, Jan 15, 2021 at 02:24:25PM +0100, Cornelia Huck wrote: > On Thu, 14 Jan 2021 10:58:06 +1100 > David Gibson wrote: > > > While we've abstracted some (potential) differences between mechanisms for > > securing guest memory, the initialization is still specific to SEV. Given > > that, move

Re: [PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code

2021-01-15 Thread Cornelia Huck
On Thu, 14 Jan 2021 10:58:06 +1100 David Gibson wrote: > While we've abstracted some (potential) differences between mechanisms for > securing guest memory, the initialization is still specific to SEV. Given > that, move it into x86's kvm_arch_init() code, rather than the generic > kvm_init()

[PATCH v7 08/13] confidential guest support: Move SEV initialization into arch specific code

2021-01-13 Thread David Gibson
While we've abstracted some (potential) differences between mechanisms for securing guest memory, the initialization is still specific to SEV. Given that, move it into x86's kvm_arch_init() code, rather than the generic kvm_init() code. Signed-off-by: David Gibson --- accel/kvm/kvm-all.c |