[patch 6/6] Emulate qemu-kvms -tdf option

2012-10-03 Thread Marcelo Tosatti
Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git.

From: Jan Kiszka jan.kis...@siemens.com

Add a warning that there is no effect anymore.

Signed-off-by: Marcelo Tosatti mtosa...@redhat.com

Index: qemu-compat-kvm/vl.c
===
--- qemu-compat-kvm.orig/vl.c
+++ qemu-compat-kvm/vl.c
@@ -3169,6 +3169,10 @@ int main(int argc, char **argv, char **e
 case QEMU_OPTION_semihosting:
 semihosting_enabled = 1;
 break;
+case QEMU_OPTION_tdf:
+fprintf(stderr, Warning: user space PIT time drift fix 
+is no longer supported.\n);
+break;
 case QEMU_OPTION_name:
 qemu_name = g_strdup(optarg);
 {
Index: qemu-compat-kvm/qemu-options.hx
===
--- qemu-compat-kvm.orig/qemu-options.hx
+++ qemu-compat-kvm/qemu-options.hx
@@ -2849,6 +2849,10 @@ DEF(no-kvm-pit-reinjection, 0, QEMU_OP
 disable KVM kernel mode PIT interrupt reinjection\n,
 QEMU_ARCH_I386)
 
+DEF(tdf, 0, QEMU_OPTION_tdf,
+-tdftime drift fix (deprecated)\n,
+QEMU_ARCH_ALL)
+
 HXCOMM This is the last statement. Insert new options before this line!
 STEXI
 @end table


--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [patch 6/6] Emulate qemu-kvms -tdf option

2012-10-03 Thread Anthony Liguori
Marcelo Tosatti mtosa...@redhat.com writes:

 Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git.

 From: Jan Kiszka jan.kis...@siemens.com

 Add a warning that there is no effect anymore.

 Signed-off-by: Marcelo Tosatti mtosa...@redhat.com

Reviewed-by: Anthony Liguori aligu...@us.ibm.com

Regards,

Anthony Liguori


 Index: qemu-compat-kvm/vl.c
 ===
 --- qemu-compat-kvm.orig/vl.c
 +++ qemu-compat-kvm/vl.c
 @@ -3169,6 +3169,10 @@ int main(int argc, char **argv, char **e
  case QEMU_OPTION_semihosting:
  semihosting_enabled = 1;
  break;
 +case QEMU_OPTION_tdf:
 +fprintf(stderr, Warning: user space PIT time drift fix 
 +is no longer supported.\n);
 +break;
  case QEMU_OPTION_name:
  qemu_name = g_strdup(optarg);
{
 Index: qemu-compat-kvm/qemu-options.hx
 ===
 --- qemu-compat-kvm.orig/qemu-options.hx
 +++ qemu-compat-kvm/qemu-options.hx
 @@ -2849,6 +2849,10 @@ DEF(no-kvm-pit-reinjection, 0, QEMU_OP
  disable KVM kernel mode PIT interrupt reinjection\n,
  QEMU_ARCH_I386)
  
 +DEF(tdf, 0, QEMU_OPTION_tdf,
 +-tdftime drift fix (deprecated)\n,
 +QEMU_ARCH_ALL)
 +
  HXCOMM This is the last statement. Insert new options before this line!
  STEXI
  @end table


 --
 To unsubscribe from this list: send the line unsubscribe kvm in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html