ivshmem: fix ivshmem-{plain,doorbell} crash without arg
commit6dc64780c2a88307716649aa9232bcc129c1ab14
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Apr 2016 13:33:10 +0000 (12 15:33 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 13 Apr 2016 10:01:47 +0000 (13 12:01 +0200)
tree4db3708eda80eaddc8ba59a89e08e74eeff1592b
parentd44122ecd0fa62d20762bdd8f214f077cb8e011b
ivshmem: fix ivshmem-{plain,doorbell} crash without arg

"qemu -device ivshmem-{plain,doorbell}" will crash, because the device
doesn't check that the required argument is provided. (screwed up in
commit 5400c02)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/misc/ivshmem.c