]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/rtc-test.c
e1000: disable debug by default
[mirror_qemu.git] / tests / rtc-test.c
index 9ab583b860135d8f89a8948bf63f6488345992cb..a086efd12096c4589d994ff52576b0dfa491c719 100644 (file)
  * See the COPYING file in the top-level directory.
  *
  */
-#include "libqtest.h"
-#include "hw/mc146818rtc_regs.h"
 
-#include <glib.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
+#include "qemu/osdep.h"
+
+#include "libqtest.h"
+#include "hw/timer/mc146818rtc_regs.h"
 
 static uint8_t base = 0x70;
 
@@ -552,7 +549,7 @@ int main(int argc, char **argv)
 
     g_test_init(&argc, &argv, NULL);
 
-    s = qtest_start("-display none -rtc clock=vm");
+    s = qtest_start("-rtc clock=vm");
     qtest_irq_intercept_in(s, "ioapic");
 
     qtest_add_func("/rtc/check-time/bcd", bcd_check_time);