ivshmem: print error on invalid peer id
commitffa99afd6e4d354cdfae44cc43a2ca7ef056eb35
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Jun 2015 11:34:09 +0000 (23 13:34 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:49 +0000 (24 18:02 +0200)
tree5d14d23bc82009dc9ac439e9af3e94b362335dbd
parent36617792b45b5d46d574af4f6ebb3f35c77d1e69
ivshmem: print error on invalid peer id

The server shouldn't send invalid peer id, so print an error if it's the
case.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
hw/misc/ivshmem.c