diff mbox

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

Message ID 20121003105509.683789100@amt.cnet
State New
Headers show

Commit Message

Marcelo Tosatti Oct. 3, 2012, 10:53 a.m. UTC
Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git.

From: Jan Kiszka <jan.kiszka@siemens.com>

Add a warning that there is no effect anymore.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Comments

Anthony Liguori Oct. 3, 2012, 2:44 p.m. UTC | #1
Marcelo Tosatti <mtosatti@redhat.com> writes:

> Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git.
>
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Add a warning that there is no effect anymore.
>
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Reviewed-by: Anthony Liguori <aliguori@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,
> +    "-tdf            time 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,
+    "-tdf            time drift fix (deprecated)\n",
+    QEMU_ARCH_ALL)
+
 HXCOMM This is the last statement. Insert new options before this line!
 STEXI
 @end table