Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-25 Thread Jason Wang
On 2020/10/23 下午6:55, Sebastian Hofmann wrote: Jason Wang hat am 23.10.2020 11:10 geschrieben: On 2020/10/23 下午5:00, Sebastian Hofmann wrote: Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: virtio_ring does n

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-24 Thread Sebastian Hofmann
> Michael S. Tsirkin hat am 23.10.2020 17:49 geschrieben: > > > On Fri, Oct 23, 2020 at 11:00:54AM +0200, Sebastian Hofmann wrote: > > > Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: > > > > > > > > > On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: > > > > virti

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-23 Thread Michael S. Tsirkin
On Fri, Oct 23, 2020 at 11:00:54AM +0200, Sebastian Hofmann wrote: > > Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: > > > > > > On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: > > > virtio_ring does not work with active memory encryption because the host > > > can

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-23 Thread Sebastian Hofmann
> Jason Wang hat am 23.10.2020 11:10 geschrieben: > > > On 2020/10/23 下午5:00, Sebastian Hofmann wrote: > >> Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: > >> > >> > >> On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: > >>> virtio_ring does not work with active

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-23 Thread Jason Wang
On 2020/10/23 下午5:00, Sebastian Hofmann wrote: Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: virtio_ring does not work with active memory encryption because the host cannot read it. Fix this by enforcing the use

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-23 Thread Sebastian Hofmann
> Michael S. Tsirkin hat am 22.10.2020 13:39 geschrieben: > > > On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: > > virtio_ring does not work with active memory encryption because the host > > cannot read it. Fix this by enforcing the use of DMA which uses shared > > (unenc

Re: [PATCH] virtio_ring: use DMA when memory encryption is active

2020-10-22 Thread Michael S. Tsirkin
On Wed, Oct 21, 2020 at 05:14:25PM +0200, Sebastian Hofmann wrote: > virtio_ring does not work with active memory encryption because the host > cannot read it. Fix this by enforcing the use of DMA which uses shared > (unencrypted) memory pages. > > Signed-off-by: Sebastian Hofmann Sorry, no.