]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qtest.c
virtio-net: correctly drop truncated packets
[mirror_qemu.git] / qtest.c
diff --git a/qtest.c b/qtest.c
index 05cefd280072f631ac46a15d27e7732a4150f6e8..8e10340c7ede1596b3698e7f1ff2a237ce56c188 100644 (file)
--- 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)