Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread David Hildenbrand
On 27.10.21 18:11, Philippe Mathieu-Daudé wrote: > On 10/27/21 17:45, David Hildenbrand wrote: >> On 27.10.21 17:33, Michael S. Tsirkin wrote: >>> On Wed, Oct 27, 2021 at 04:11:38PM +0200, Philippe Mathieu-Daudé wrote: On 10/27/21 16:04, David Hildenbrand wrote: > On 27.10.21 15:36, Philip

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/27/21 17:45, David Hildenbrand wrote: > On 27.10.21 17:33, Michael S. Tsirkin wrote: >> On Wed, Oct 27, 2021 at 04:11:38PM +0200, Philippe Mathieu-Daudé wrote: >>> On 10/27/21 16:04, David Hildenbrand wrote: On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: > On 10/27/21 14:45, David

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread David Hildenbrand
On 27.10.21 17:33, Michael S. Tsirkin wrote: > On Wed, Oct 27, 2021 at 04:11:38PM +0200, Philippe Mathieu-Daudé wrote: >> On 10/27/21 16:04, David Hildenbrand wrote: >>> On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: On 10/27/21 14:45, David Hildenbrand wrote: > Let's return the number o

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread Michael S. Tsirkin
On Wed, Oct 27, 2021 at 04:11:38PM +0200, Philippe Mathieu-Daudé wrote: > On 10/27/21 16:04, David Hildenbrand wrote: > > On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: > >> On 10/27/21 14:45, David Hildenbrand wrote: > >>> Let's return the number of free slots instead of only checking if there >

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread David Hildenbrand
On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: > On 10/27/21 14:45, David Hildenbrand wrote: >> Let's return the number of free slots instead of only checking if there >> is a free slot. Required to support memory devices that consume multiple >> memslots. >> >> Signed-off-by: David Hildenbrand

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/27/21 16:04, David Hildenbrand wrote: > On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: >> On 10/27/21 14:45, David Hildenbrand wrote: >>> Let's return the number of free slots instead of only checking if there >>> is a free slot. Required to support memory devices that consume multiple >>>

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread David Hildenbrand
On 27.10.21 15:36, Philippe Mathieu-Daudé wrote: > On 10/27/21 14:45, David Hildenbrand wrote: >> Let's return the number of free slots instead of only checking if there >> is a free slot. Required to support memory devices that consume multiple >> memslots. >> >> Signed-off-by: David Hildenbrand

Re: [PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/27/21 14:45, David Hildenbrand wrote: > Let's return the number of free slots instead of only checking if there > is a free slot. Required to support memory devices that consume multiple > memslots. > > Signed-off-by: David Hildenbrand > --- > hw/mem/memory-device.c| 2 +- > hw/virtio/

[PATCH v1 02/12] vhost: Return number of free memslots

2021-10-27 Thread David Hildenbrand
Let's return the number of free slots instead of only checking if there is a free slot. Required to support memory devices that consume multiple memslots. Signed-off-by: David Hildenbrand --- hw/mem/memory-device.c| 2 +- hw/virtio/vhost-stub.c| 2 +- hw/virtio/vhost.c | 4 ++--