]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-config.c
Refactor RTC command line switches
[mirror_qemu.git] / qemu-config.c
index 555c7ba091de2bd4e9d8731f75376e71a3b7f881..3dce91d80ecdf2d82b370699e82636fc45fb0573 100644 (file)
@@ -151,6 +151,23 @@ QemuOptsList qemu_device_opts = {
     },
 };
 
+QemuOptsList qemu_rtc_opts = {
+    .name = "rtc",
+    .head = QTAILQ_HEAD_INITIALIZER(qemu_rtc_opts.head),
+    .desc = {
+        {
+            .name = "base",
+            .type = QEMU_OPT_STRING,
+#ifdef TARGET_I386
+        },{
+            .name = "driftfix",
+            .type = QEMU_OPT_STRING,
+#endif
+        },
+        { /* end if list */ }
+    },
+};
+
 static QemuOptsList *lists[] = {
     &qemu_drive_opts,
     &qemu_chardev_opts,