Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2021-01-07 Thread David Hildenbrand
On 17.12.20 20:47, Alex Williamson wrote: > On Thu, 17 Dec 2020 20:04:28 +0100 > David Hildenbrand wrote: > >> On 17.12.20 18:55, Alex Williamson wrote: >>> On Wed, 16 Dec 2020 15:11:54 +0100 >>> David Hildenbrand wrote: >>> Let's query the maximum number of DMA mappings by querying the

Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-17 Thread Alex Williamson
On Thu, 17 Dec 2020 20:04:28 +0100 David Hildenbrand wrote: > On 17.12.20 18:55, Alex Williamson wrote: > > On Wed, 16 Dec 2020 15:11:54 +0100 > > David Hildenbrand wrote: > > > >> Let's query the maximum number of DMA mappings by querying the available > >> mappings when creating the contain

Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-17 Thread David Hildenbrand
> Am 17.12.2020 um 20:04 schrieb David Hildenbrand : > > On 17.12.20 18:55, Alex Williamson wrote: >>> On Wed, 16 Dec 2020 15:11:54 +0100 >>> David Hildenbrand wrote: >>> >>> Let's query the maximum number of DMA mappings by querying the available >>> mappings when creating the container. >>>

Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-17 Thread David Hildenbrand
On 17.12.20 18:55, Alex Williamson wrote: > On Wed, 16 Dec 2020 15:11:54 +0100 > David Hildenbrand wrote: > >> Let's query the maximum number of DMA mappings by querying the available >> mappings when creating the container. >> >> In addition, count the number of DMA mappings and warn when we wou

Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-17 Thread Alex Williamson
On Wed, 16 Dec 2020 15:11:54 +0100 David Hildenbrand wrote: > Let's query the maximum number of DMA mappings by querying the available > mappings when creating the container. > > In addition, count the number of DMA mappings and warn when we would > exceed it. This is a preparation for RamDiscar

Re: [PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-16 Thread Pankaj Gupta
> Let's query the maximum number of DMA mappings by querying the available > mappings when creating the container. > > In addition, count the number of DMA mappings and warn when we would > exceed it. This is a preparation for RamDiscardMgr which might > create quite some DMA mappings over time, an

[PATCH v3 04/10] vfio: Query and store the maximum number of DMA mappings

2020-12-16 Thread David Hildenbrand
Let's query the maximum number of DMA mappings by querying the available mappings when creating the container. In addition, count the number of DMA mappings and warn when we would exceed it. This is a preparation for RamDiscardMgr which might create quite some DMA mappings over time, and we at lea