ivshmem: Inline check_shm_size() into its only caller
commit8baeb22bfc3b57a8568c17b34c66ea2ff54df09a
authorMarkus Armbruster <armbru@redhat.com>
Tue, 15 Mar 2016 18:34:48 +0000 (15 19:34 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 21 Mar 2016 20:29:02 +0000 (21 21:29 +0100)
treea1025805e5f80b0b4769685fd2a4bc40c301ed29
parentc2d8019cd7e9c38c5ef9dc44ae1e3adccd57a6a4
ivshmem: Inline check_shm_size() into its only caller

Improve the error messages while there.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1458066895-20632-34-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/misc/ivshmem.c