From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyyAa-0003Tn-D1 for qemu-devel@nongnu.org; Wed, 18 Nov 2015 03:32:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyyAX-000866-6A for qemu-devel@nongnu.org; Wed, 18 Nov 2015 03:32:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyyAX-00085p-10 for qemu-devel@nongnu.org; Wed, 18 Nov 2015 03:32:45 -0500 From: Markus Armbruster References: <1447694618-17177-1-git-send-email-marcandre.lureau@redhat.com> <1447694618-17177-3-git-send-email-marcandre.lureau@redhat.com> Date: Wed, 18 Nov 2015 09:32:41 +0100 In-Reply-To: (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Tue, 17 Nov 2015 22:32:32 +0100") Message-ID: <87vb8z3dxy.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/3] exec: silence hugetlbfs warning under qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , QEMU , "Michael S. Tsirkin" Marc-Andr=C3=A9 Lureau writes: > nack, this isn't enough to silence the warning, as vhost-user-test > uses -machine accel=3Dtcg Pity. > On Mon, Nov 16, 2015 at 6:23 PM, wrote: >> From: Marc-Andr=C3=A9 Lureau >> >> vhost-user-test prints a warning. A test should not need to run on >> hugetlbfs, let's silence the warning under qtest. Unfortunately, the >> condition can't check on qtest_enabled() or qtest_driver() since they >> are initialized later. Moving configure_accelerator() earlier is >> problematic, as the memory regions aren't yet fully set up and >> vhost-user-test fails. That leaves qtest_init(), which makes qtest_driver() valid. Could that be done earlier?