]> Git Repo - qemu.git/commit
exec: silence hugetlbfs warning under qtest
authorMarc-André Lureau <[email protected]>
Wed, 18 Nov 2015 09:02:58 +0000 (10:02 +0100)
committerMichael S. Tsirkin <[email protected]>
Thu, 19 Nov 2015 13:26:05 +0000 (15:26 +0200)
commit1c7ba94a184df1eddd589d5400d879568d3e5d08
tree92520c361efd9dccf57fe9d6b8def625ea0d7a2f
parent421f4448cec3e42f8477499c5c584699e2cf656b
exec: silence hugetlbfs warning under qtest

vhost-user-test prints a warning. A test should not need to run on
hugetlbfs, let's silence the warning under qtest. The
condition can't check on qtest_enabled() since vhost-user-test actually
doesn't use qtest accel. However, qtest_driver() can be used, if
qtest_init() is called early enough. For that reason, move chardev and
qtest initialization early.

Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
exec.c
vl.c
This page took 0.024987 seconds and 4 git commands to generate.