tests: add ivshmem qtest
commitddef6a0d68f641ca89466c697d191d07b7e6718c
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 2 Apr 2014 14:57:48 +0000 (2 16:57 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 26 Oct 2015 09:19:48 +0000 (26 10:19 +0100)
tree1ea352c59172bdd69d379b2050c0c6af1af8065c
parent063c23d909a8d6c9f251347514e34835e0510294
tests: add ivshmem qtest

Adds 4 ivshmemtests:
- single qemu instance and basic IO
- pair of instances, check memory sharing
- pair of instances with server, and MSIX
- hot plug/unplug

A temporary shm is created as well as a directory to place server
socket, both should be clear on exit and abort.

Cc: Cam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/Makefile
tests/ivshmem-test.c