Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-09-11 Thread Halil Pasic
On Fri, 11 Sep 2020 12:04:42 +1000 David Gibson wrote: > On Mon, Sep 07, 2020 at 05:10:46PM +0200, Halil Pasic wrote: > > On Fri, 24 Jul 2020 12:57:43 +1000 > > David Gibson wrote: > > > > > The default behaviour for virtio devices is not to use the platforms > > > normal > > > DMA paths, but

Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-09-10 Thread David Gibson
On Mon, Sep 07, 2020 at 05:10:46PM +0200, Halil Pasic wrote: > On Fri, 24 Jul 2020 12:57:43 +1000 > David Gibson wrote: > > > The default behaviour for virtio devices is not to use the platforms normal > > DMA paths, but instead to use the fact that it's running in a hypervisor > > to directly

Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-09-07 Thread Halil Pasic
On Fri, 24 Jul 2020 12:57:43 +1000 David Gibson wrote: > The default behaviour for virtio devices is not to use the platforms normal > DMA paths, but instead to use the fact that it's running in a hypervisor > to directly access guest memory. That doesn't work if the guest's memory > is

Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-08-13 Thread Greg Kurz
On Thu, 13 Aug 2020 09:43:56 +0200 Greg Kurz wrote: > On Mon, 27 Jul 2020 16:05:14 +0100 > "Dr. David Alan Gilbert" wrote: > > > * David Gibson (da...@gibson.dropbear.id.au) wrote: > > > The default behaviour for virtio devices is not to use the platforms > > > normal > > > DMA paths, but

Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-08-13 Thread Greg Kurz
On Mon, 27 Jul 2020 16:05:14 +0100 "Dr. David Alan Gilbert" wrote: > * David Gibson (da...@gibson.dropbear.id.au) wrote: > > The default behaviour for virtio devices is not to use the platforms normal > > DMA paths, but instead to use the fact that it's running in a hypervisor > > to directly

Re: [for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-07-27 Thread Dr. David Alan Gilbert
* David Gibson (da...@gibson.dropbear.id.au) wrote: > The default behaviour for virtio devices is not to use the platforms normal > DMA paths, but instead to use the fact that it's running in a hypervisor > to directly access guest memory. That doesn't work if the guest's memory > is protected

[for-5.2 v4 09/10] host trust limitation: Alter virtio default properties for protected guests

2020-07-23 Thread David Gibson
The default behaviour for virtio devices is not to use the platforms normal DMA paths, but instead to use the fact that it's running in a hypervisor to directly access guest memory. That doesn't work if the guest's memory is protected from hypervisor access, such as with AMD's SEV or POWER's PEF.