From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vQl-0006nt-OC for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0vQk-00066X-T2 for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:01:35 -0500 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vQk-00066R-OO for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:01:34 -0500 Received: by oixx65 with SMTP id x65so135558780oix.0 for ; Mon, 23 Nov 2015 10:01:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <56534FAA.4090101@redhat.com> References: <1447694618-17177-3-git-send-email-marcandre.lureau@redhat.com> <1447837378-25222-1-git-send-email-marcandre.lureau@redhat.com> <20151118224821-mutt-send-email-mst@redhat.com> <56534FAA.4090101@redhat.com> Date: Mon, 23 Nov 2015 19:01:33 +0100 Message-ID: From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] exec: silence hugetlbfs warning under qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Amit Shah , Peter Maydell , QEMU , "Michael S. Tsirkin" On Mon, Nov 23, 2015 at 6:40 PM, Paolo Bonzini wrote: > Before: object-initial, chardev, qtest, object-late (not in the patch) > > After: chardev, qtest, object-initial, object-late (not in the patch) > > Objects must be initialized before chardev (except rng-egd) since in the > future chardev will need to use objects, in particular secret objects. > Was the swap intentional? Yes, without the swap, qtest was not initialized before memory is allocated= . The alternative I could think of is to check the QTEST_QEMU_BINARY variable: http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg01527.= html --=20 Marc-Andr=C3=A9 Lureau