Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-02-17 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever t

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-02-01 Thread Stefan Hajnoczi
On Thu, Jan 28, 2021 at 12:41:15PM -0300, Leonardo Augusto Guimarães Garcia wrote: > On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: > > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: > > + > > + if (virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM) && > > + !(fs->

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-28 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever t

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Dr. David Alan Gilbert
* Laszlo Ersek (ler...@redhat.com) wrote: > On 01/27/21 12:19, Stefan Hajnoczi wrote: > > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: > >> From: Leonardo Garcia > >> > >> Currently, as IOMMU and ATS are not supported, if a user mistakenly set > >> any of them and tries

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 4:40 PM, Dr. David Alan Gilbert wrote: * Leonardo Augusto Guimarães Garcia (lagar...@br.ibm.com) wrote: On 1/27/21 1:34 PM, Dr. David Alan Gilbert wrote: * Leonardo Augusto Guimarães Garcia (lagar...@linux.ibm.com) wrote: On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26,

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Dr. David Alan Gilbert
* Leonardo Augusto Guimarães Garcia (lagar...@br.ibm.com) wrote: > On 1/27/21 1:34 PM, Dr. David Alan Gilbert wrote: > > * Leonardo Augusto Guimarães Garcia (lagar...@linux.ibm.com) wrote: > > > On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: > > > > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@l

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 1:34 PM, Dr. David Alan Gilbert wrote: * Leonardo Augusto Guimarães Garcia (lagar...@linux.ibm.com) wrote: On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Laszlo Ersek
On 01/27/21 12:19, Stefan Hajnoczi wrote: > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: >> From: Leonardo Garcia >> >> Currently, as IOMMU and ATS are not supported, if a user mistakenly set >> any of them and tries to mount the vhost-user filesystem inside the >> guest

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Dr. David Alan Gilbert
* Leonardo Augusto Guimarães Garcia (lagar...@linux.ibm.com) wrote: > On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: > > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: > > > From: Leonardo Garcia > > > > > > Currently, as IOMMU and ATS are not supported, if a user mistakenly

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever t

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Stefan Hajnoczi
On Wed, Jan 27, 2021 at 09:30:35AM -0300, Leonardo Augusto Guimarães Garcia wrote: > On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: > > On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: > > > From: Leonardo Garcia > > > > > > Currently, as IOMMU and ATS are not supported, if a

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Leonardo Augusto Guimarães Garcia
On 1/27/21 8:19 AM, Stefan Hajnoczi wrote: On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever t

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-27 Thread Stefan Hajnoczi
On Tue, Jan 26, 2021 at 03:23:38PM -0300, lagar...@linux.ibm.com wrote: > From: Leonardo Garcia > > Currently, as IOMMU and ATS are not supported, if a user mistakenly set > any of them and tries to mount the vhost-user filesystem inside the > guest, whenever the user tries to access the mount po

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-26 Thread Leonardo Augusto Guimarães Garcia
On 1/26/21 4:45 PM, Dr. David Alan Gilbert wrote: * lagar...@linux.ibm.com (lagar...@linux.ibm.com) wrote: From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever the user

Re: [PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-26 Thread Dr. David Alan Gilbert
* lagar...@linux.ibm.com (lagar...@linux.ibm.com) wrote: > From: Leonardo Garcia > > Currently, as IOMMU and ATS are not supported, if a user mistakenly set > any of them and tries to mount the vhost-user filesystem inside the > guest, whenever the user tries to access the mount point, the system

[PATCH] IOMMU and ATS not supported by vhost-user filesystem.

2021-01-26 Thread lagarcia
From: Leonardo Garcia Currently, as IOMMU and ATS are not supported, if a user mistakenly set any of them and tries to mount the vhost-user filesystem inside the guest, whenever the user tries to access the mount point, the system will hang forever. Signed-off-by: Leonardo Garcia --- hw/virtio