mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
09f6c85e39
commit
c50766f5a9
1 changed files with 1 additions and 0 deletions
1
qtest.c
1
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue