Re: [Qemu-devel] [PATCH v4 33/47] ivshmem-server: use a uint16 for client ID

2015-09-29 Thread Claudio Fontana
On 24.09.2015 13:37, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > In practice, the number of VM is limited to MAXUINT16 in ivshmem, so use > the same limit on the server (removes a theorical infinite loop) > > Signed-off-by: Marc-André Lureau > --- > contrib/ivshmem-server/

[Qemu-devel] [PATCH v4 33/47] ivshmem-server: use a uint16 for client ID

2015-09-24 Thread marcandre . lureau
From: Marc-André Lureau In practice, the number of VM is limited to MAXUINT16 in ivshmem, so use the same limit on the server (removes a theorical infinite loop) Signed-off-by: Marc-André Lureau --- contrib/ivshmem-server/ivshmem-server.c | 11 ++- contrib/ivshmem-server/ivshmem-server