Patchwork [2/2] rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix

login
register
mail settings
Submitter Amit Shah
Date June 23, 2010, 2:29 p.m.
Message ID <a2c3ccd27f9a2deda17604a82384ba6c2a8e354e.1277303360.git.amit.shah@redhat.com>
Download mbox | patch
Permalink /patch/56680/
State New
Headers show

Comments

Amit Shah - June 23, 2010, 2:29 p.m.
qemu-config.c doesn't contain any target-specific code, and the
TARGET_I386 conditional code didn't get compiled as a result. Removing
this enables the driftfix parameter for rtc.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 qemu-config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/qemu-config.c b/qemu-config.c
index 95abe61..730ffd9 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -247,11 +247,9 @@  QemuOptsList qemu_rtc_opts = {
         },{
             .name = "clock",
             .type = QEMU_OPT_STRING,
-#ifdef TARGET_I386
         },{
             .name = "driftfix",
             .type = QEMU_OPT_STRING,
-#endif
         },
         { /* end if list */ }
     },