diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2015-08-13 11:51:32 +0100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2015-09-29 11:33:02 +0530 |
commit | c50766f5a99ef7bf6c9a86cd07341c389faf7ae6 (patch) | |
tree | f58180bed2d7430145ef40af8d144ed0e8f645e7 /qtest.c | |
parent | 09f6c85e39ee9e57bd245adbe6f400d387061707 (diff) | |
download | qemu-c50766f5a99ef7bf6c9a86cd07341c389faf7ae6.zip qemu-c50766f5a99ef7bf6c9a86cd07341c389faf7ae6.tar.gz qemu-c50766f5a99ef7bf6c9a86cd07341c389faf7ae6.tar.bz2 |
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 <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1439463094-5394-4-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'qtest.c')
-rw-r--r-- | qtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |