From: Dr. David Alan Gilbert Date: Thu, 13 Aug 2015 10:51:32 +0000 (+0100) Subject: Init page sizes in qtest X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c50766f5a99ef7bf6c9a86cd07341c389faf7ae6;p=qemu.git Init page sizes in qtest 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 Message-Id: <1439463094-5394-4-git-send-email-dgilbert@redhat.com> Signed-off-by: Amit Shah --- diff --git a/qtest.c b/qtest.c index 05cefd2800..8e10340c7e 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)