]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - exec.c
mac_dbdma: always initialize channel field in DBDMA_channel
[thirdparty/qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index acbd4a2cb585b70fc2ecda9d0ecab93b7bf9057a..de1cf191549fbf91cadc5703d1bfff31529c681f 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -51,7 +51,6 @@
 #include "qemu/main-loop.h"
 #include "translate-all.h"
 #include "sysemu/replay.h"
-#include "sysemu/qtest.h"
 
 #include "exec/memory-internal.h"
 #include "exec/ram_addr.h"
@@ -1197,11 +1196,6 @@ static long gethugepagesize(const char *path, Error **errp)
         return 0;
     }
 
-    if (!qtest_driver() &&
-        fs.f_type != HUGETLBFS_MAGIC) {
-        fprintf(stderr, "Warning: path not on HugeTLBFS: %s\n", path);
-    }
-
     return fs.f_bsize;
 }