ivshmem: initialize max_peer to -1
There is no peer when device is initialized, do not let doorbell for inexisting peer 0. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: NClaudio Fontana <claudio.fontana@huawei.com>
Showing
想要评论请 注册 或 登录