From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPq6o-0000ki-0F for qemu-devel@nongnu.org; Thu, 13 Aug 2015 06:51:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPq6m-0000Qm-UA for qemu-devel@nongnu.org; Thu, 13 Aug 2015 06:51:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPq6m-0000Qf-PW for qemu-devel@nongnu.org; Thu, 13 Aug 2015 06:51:40 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 605818EB56 for ; Thu, 13 Aug 2015 10:51:40 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" Date: Thu, 13 Aug 2015 11:51:32 +0100 Message-Id: <1439463094-5394-4-git-send-email-dgilbert@redhat.com> In-Reply-To: <1439463094-5394-1-git-send-email-dgilbert@redhat.com> References: <1439463094-5394-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH 3/5] Init page sizes in qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, quintela@redhat.com From: "Dr. David Alan Gilbert" One of my patches used a loop that was based on host page size; it dies in qtest since qtest hadn't bothered init'ing it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela Reviewed-by: Amit Shah --- qtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qtest.c b/qtest.c index 05cefd2..8e10340 100644 --- a/qtest.c +++ b/qtest.c @@ -657,6 +657,7 @@ void qtest_init(const char *qtest_chrdev, const char *qtest_log, Error **errp) inbuf = g_string_new(""); qtest_chr = chr; + page_size_init(); } bool qtest_driver(void) -- 2.4.3