]> Git Repo - qemu.git/commit
tests: use memfd in vhost-user-test
authorMarc-André Lureau <[email protected]>
Thu, 1 Feb 2018 13:27:57 +0000 (14:27 +0100)
committerPaolo Bonzini <[email protected]>
Wed, 7 Feb 2018 13:09:25 +0000 (14:09 +0100)
commit7e49f5e8e508ed020c96798b3f7083e24e0e425b
tree3196a11193a9739bd1240177bebd67397fff16da
parent83265145a4f42a38f10bad0051e3a8229f19c166
tests: use memfd in vhost-user-test

This will exercise the memfd memory backend and should generally be
better for testing than memory-backend-file (thanks to anonymous files
and sealing).

If memfd is available, it is preferred.

However, in order to check that file & memfd backends both work
correctly, the read-guest-mem test is checked explicitly for each.

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20180201132757[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
tests/vhost-user-test.c
This page took 0.023628 seconds and 4 git commands to generate.