ivshmem: use qemu_strtosz()
commit2c04752cc8e37b15be4643570b49abb3128a8a46
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 29 Jun 2015 22:06:03 +0000 (30 00:06 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 26 Oct 2015 09:19:53 +0000 (26 10:19 +0100)
tree7eb59dc0e9883e09c02edea1e068a1bad7c1bd89
parentf689d2811a36894618087e1e2cc3ade78e758e94
ivshmem: use qemu_strtosz()

Use the common qemu utility function to parse the memory size.

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