From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vZB-0002lJ-Cc for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:10:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0vZ7-0007uF-Mf for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:10:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0vZ7-0007uB-HG for qemu-devel@nongnu.org; Mon, 23 Nov 2015 13:10:13 -0500 Date: Mon, 23 Nov 2015 18:10:08 +0000 From: "Daniel P. Berrange" Message-ID: <20151123181008.GU18085@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] exec: silence hugetlbfs warning under qtest Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: Amit Shah , Paolo Bonzini , "Michael S. Tsirkin" , QEMU , Peter Maydell On Mon, Nov 23, 2015 at 07:01:33PM +0100, Marc-Andr=C3=A9 Lureau wrote: > On Mon, Nov 23, 2015 at 6:40 PM, Paolo Bonzini wr= ote: > > 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? >=20 > Yes, without the swap, qtest was not initialized before memory is alloc= ated. >=20 > The alternative I could think of is to check the QTEST_QEMU_BINARY > variable: http://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg01= 527.html Why do we not simply delete the warning message about the path not being on hugetlbfs ? ie, why does QEMU try to force a policy that a memory-file backend has to be on hugetlbfs, as opposed to on a plain tmpfs ? I've previously had user request that we allow use of plain tmpfs, because they want to use vhost-user without also using hugepages, and that could be done with plain tmpfs. Regards, Daniel --=20 |: http://berrange.com -o- http://www.flickr.com/photos/dberrange= / :| |: http://libvirt.org -o- http://virt-manager.or= g :| |: http://autobuild.org -o- http://search.cpan.org/~danberr= / :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vn= c :|