]> git.proxmox.com Git - mirror_qemu.git/commit - tests/ivshmem-test.c
tests: add ivshmem qtest
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 2 Apr 2014 14:57:48 +0000 (16:57 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 26 Oct 2015 09:19:48 +0000 (10:19 +0100)
commitddef6a0d68f641ca89466c697d191d07b7e6718c
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