Skip to contentSkip to conversation

rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix

PATCH Applied Amit Shah 6 participants 10 messages Jun 23, 2010 – Aug 19, 2010

lore
Share & tools
lore

Amit Shah

author
#0 lore raw

PATCH v2 1/1 rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix

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.

---
 qemu-config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -2
index 95abe61..730ffd9 100644
@@ -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 */ }
     },
Signature · 1 line
1.7.0.1
Acked-by on v2 1/1
#1 lore raw
Quoted 15 lines · Amit Shah

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.

---
  qemu-config.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -0
index 95abe61..730ffd9 100644
@@ -247,11 +247,9 @@ QemuOptsList qemu_rtc_opts = {
          },{

qemu-config.c QemuOptsList qemu_rtc_opts = { · line 255

Quoted 10 lines
qemu-config.c +0 -2
              .name = "clock",
              .type = QEMU_OPT_STRING,
-#ifdef TARGET_I386
          },{
              .name = "driftfix",
              .type = QEMU_OPT_STRING,
-#endif
          },
          { /* end if list */ }
      },

Paolo

#3 lore raw
In reply to Amit Shah
Quoted 8 lines · Amit Shah

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.

---
 qemu-config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

I really don't like exposing all these options in targets where they are not functional. It would be really nice if we could come up with a better way to handle this without just exposing them globally.

Cheers,
Jes

#5 lore raw

PATCH v2 1/1 rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix

Quoted 8 lines · Amit Shah
Quoted 5 lines · Amit Shah

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.

Ping

Ping^2

Paolo

#6 lore raw
In reply to Amit Shah
Quoted 15 lines · Amit Shah

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.

---
 qemu-config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -0
index 95abe61..730ffd9 100644
@@ -247,11 +247,9 @@ QemuOptsList qemu_rtc_opts = {
         },{

qemu-config.c QemuOptsList qemu_rtc_opts = { · line 255

Quoted 10 lines
qemu-config.c +0 -2
             .name = "clock",
             .type = QEMU_OPT_STRING,
-#ifdef TARGET_I386
         },{
             .name = "driftfix",
             .type = QEMU_OPT_STRING,
-#endif
         },
         { /* end if list */ }
     },

Is there any reason this patch hasn't been applied to GIT yet ? I'm told that using this option is critical to making certain guests work reliably so we want to use it from libvirt/virt-manager for the OS in question.

Regards,
Daniel

Signature · 4 lines
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
author
#7 lore raw
Quoted 23 lines · Daniel P. Berrange
Quoted 22 lines · Amit Shah

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.

---
 qemu-config.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -2
index 95abe61..730ffd9 100644
@@ -247,11 +247,9 @@ QemuOptsList qemu_rtc_opts = {
         },{
             .name = "clock",
             .type = QEMU_OPT_STRING,
-#ifdef TARGET_I386
         },{
             .name = "driftfix",
             .type = QEMU_OPT_STRING,
-#endif
Quoted 8 lines

qemu-config.c QemuOptsList qemu_rtc_opts = { · line 255

Quoted 3 lines
qemu-config.c +0 -0
         },
         { /* end if list */ }
     },

Is there any reason this patch hasn't been applied to GIT yet ? I'm told that using this option is critical to making certain guests work reliably so we want to use it from libvirt/virt-manager for the OS in question.

Multiple pings have gone out already; I hope it's in someone's queue to be applied.

Amit

#8 lore raw
Quoted 35 lines · Amit Shah
Quoted 24 lines · Daniel P. Berrange
Quoted 22 lines · Amit Shah

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.

---
  qemu-config.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -2
index 95abe61..730ffd9 100644
@@ -247,11 +247,9 @@ QemuOptsList qemu_rtc_opts = {
          },{
              .name = "clock",
              .type = QEMU_OPT_STRING,
-#ifdef TARGET_I386
          },{
              .name = "driftfix",
              .type = QEMU_OPT_STRING,
-#endif
Quoted 9 lines

qemu-config.c QemuOptsList qemu_rtc_opts = { · line 255

Quoted 4 lines
qemu-config.c +0 -0
          },
          { /* end if list */ }
      },

Is there any reason this patch hasn't been applied to GIT yet ? I'm told that using this option is critical to making certain guests work reliably so we want to use it from libvirt/virt-manager for the OS in question.

Quoted 3 lines

Multiple pings have gone out already; I hope it's in someone's queue to be applied

Sorry, I've got it now. In the future, please resend patches with [RESEND] as opposed to just bumping it.

Regards,

Anthony Liguori

Quoted 2 lines

Amit

#9 lore raw
In reply to Amit Shah
Quoted 6 lines · Amit Shah

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.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 21 lines
---
  qemu-config.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
qemu-config.c +0 -2
index 95abe61..730ffd9 100644
@@ -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 */ }
      },