diff mbox

Remove legacy -no-kvm-pit option

Message ID 1513619065-31722-1-git-send-email-thuth@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Huth Dec. 18, 2017, 5:44 p.m. UTC
It's only printing a warning since QEMU v1.3.0, so nobody should use
this anymore today. Let's get rid of this now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 qemu-doc.texi   | 5 -----
 qemu-options.hx | 3 ---
 vl.c            | 4 ----
 3 files changed, 12 deletions(-)

Comments

Paolo Bonzini Dec. 19, 2017, 10:56 a.m. UTC | #1
On 18/12/2017 18:44, Thomas Huth wrote:
> It's only printing a warning since QEMU v1.3.0, so nobody should use
> this anymore today. Let's get rid of this now.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  qemu-doc.texi   | 5 -----
>  qemu-options.hx | 3 ---
>  vl.c            | 4 ----
>  3 files changed, 12 deletions(-)
> 
> diff --git a/qemu-doc.texi b/qemu-doc.texi
> index 14d818d..d9861b3 100644
> --- a/qemu-doc.texi
> +++ b/qemu-doc.texi
> @@ -2396,11 +2396,6 @@ synonym for setting ``-global kvm-pit.lost_tick_policy=discard''.
>  The ``-no-kvm-irqchip'' argument is now a synonym for
>  setting ``-machine kernel_irqchip=off''.
>  
> -@subsection -no-kvm-pit (since 1.3.0)
> -
> -The ``-no-kvm-pit'' argument is ignored. It is no longer
> -possible to disable the KVM PIT directly.
> -
>  @subsection -no-kvm (since 1.3.0)
>  
>  The ``-no-kvm'' argument is now a synonym for setting
> diff --git a/qemu-options.hx b/qemu-options.hx
> index fe0c292..aa0e849 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -4139,9 +4139,6 @@ HXCOMM Deprecated by kvm-pit driver properties
>  DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection,
>      "", QEMU_ARCH_I386)
>  
> -HXCOMM Deprecated (ignored)
> -DEF("no-kvm-pit", 0, QEMU_OPTION_no_kvm_pit, "", QEMU_ARCH_I386)
> -
>  HXCOMM Deprecated by -machine kernel_irqchip=on|off property
>  DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386)
>  
> diff --git a/vl.c b/vl.c
> index fc8bd93..2644400 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -3818,10 +3818,6 @@ int main(int argc, char **argv, char **envp)
>                  olist = qemu_find_opts("machine");
>                  qemu_opts_parse_noisily(olist, "accel=tcg", false);
>                  break;
> -            case QEMU_OPTION_no_kvm_pit: {
> -                warn_report("ignoring deprecated option");
> -                break;
> -            }
>              case QEMU_OPTION_no_kvm_pit_reinjection: {
>                  static GlobalProperty kvm_pit_lost_tick_policy = {
>                      .driver   = "kvm-pit",
> 

Queued, thanks.  Please create the 2.12 changelog page and add it to the
incompatible changes section.

Paolo
Thomas Huth Dec. 19, 2017, 12:49 p.m. UTC | #2
On 19.12.2017 11:56, Paolo Bonzini wrote:
> On 18/12/2017 18:44, Thomas Huth wrote:
>> It's only printing a warning since QEMU v1.3.0, so nobody should use
>> this anymore today. Let's get rid of this now.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>>  qemu-doc.texi   | 5 -----
>>  qemu-options.hx | 3 ---
>>  vl.c            | 4 ----
>>  3 files changed, 12 deletions(-)
>>
>> diff --git a/qemu-doc.texi b/qemu-doc.texi
>> index 14d818d..d9861b3 100644
>> --- a/qemu-doc.texi
>> +++ b/qemu-doc.texi
>> @@ -2396,11 +2396,6 @@ synonym for setting ``-global kvm-pit.lost_tick_policy=discard''.
>>  The ``-no-kvm-irqchip'' argument is now a synonym for
>>  setting ``-machine kernel_irqchip=off''.
>>  
>> -@subsection -no-kvm-pit (since 1.3.0)
>> -
>> -The ``-no-kvm-pit'' argument is ignored. It is no longer
>> -possible to disable the KVM PIT directly.
>> -
>>  @subsection -no-kvm (since 1.3.0)
>>  
>>  The ``-no-kvm'' argument is now a synonym for setting
>> diff --git a/qemu-options.hx b/qemu-options.hx
>> index fe0c292..aa0e849 100644
>> --- a/qemu-options.hx
>> +++ b/qemu-options.hx
>> @@ -4139,9 +4139,6 @@ HXCOMM Deprecated by kvm-pit driver properties
>>  DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection,
>>      "", QEMU_ARCH_I386)
>>  
>> -HXCOMM Deprecated (ignored)
>> -DEF("no-kvm-pit", 0, QEMU_OPTION_no_kvm_pit, "", QEMU_ARCH_I386)
>> -
>>  HXCOMM Deprecated by -machine kernel_irqchip=on|off property
>>  DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386)
>>  
>> diff --git a/vl.c b/vl.c
>> index fc8bd93..2644400 100644
>> --- a/vl.c
>> +++ b/vl.c
>> @@ -3818,10 +3818,6 @@ int main(int argc, char **argv, char **envp)
>>                  olist = qemu_find_opts("machine");
>>                  qemu_opts_parse_noisily(olist, "accel=tcg", false);
>>                  break;
>> -            case QEMU_OPTION_no_kvm_pit: {
>> -                warn_report("ignoring deprecated option");
>> -                break;
>> -            }
>>              case QEMU_OPTION_no_kvm_pit_reinjection: {
>>                  static GlobalProperty kvm_pit_lost_tick_policy = {
>>                      .driver   = "kvm-pit",
>>
> 
> Queued, thanks.  Please create the 2.12 changelog page and add it to the
> incompatible changes section.

Ok, I'll do that as soon as this patch hits the master branch.

 Thomas
diff mbox

Patch

diff --git a/qemu-doc.texi b/qemu-doc.texi
index 14d818d..d9861b3 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -2396,11 +2396,6 @@  synonym for setting ``-global kvm-pit.lost_tick_policy=discard''.
 The ``-no-kvm-irqchip'' argument is now a synonym for
 setting ``-machine kernel_irqchip=off''.
 
-@subsection -no-kvm-pit (since 1.3.0)
-
-The ``-no-kvm-pit'' argument is ignored. It is no longer
-possible to disable the KVM PIT directly.
-
 @subsection -no-kvm (since 1.3.0)
 
 The ``-no-kvm'' argument is now a synonym for setting
diff --git a/qemu-options.hx b/qemu-options.hx
index fe0c292..aa0e849 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -4139,9 +4139,6 @@  HXCOMM Deprecated by kvm-pit driver properties
 DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection,
     "", QEMU_ARCH_I386)
 
-HXCOMM Deprecated (ignored)
-DEF("no-kvm-pit", 0, QEMU_OPTION_no_kvm_pit, "", QEMU_ARCH_I386)
-
 HXCOMM Deprecated by -machine kernel_irqchip=on|off property
 DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386)
 
diff --git a/vl.c b/vl.c
index fc8bd93..2644400 100644
--- a/vl.c
+++ b/vl.c
@@ -3818,10 +3818,6 @@  int main(int argc, char **argv, char **envp)
                 olist = qemu_find_opts("machine");
                 qemu_opts_parse_noisily(olist, "accel=tcg", false);
                 break;
-            case QEMU_OPTION_no_kvm_pit: {
-                warn_report("ignoring deprecated option");
-                break;
-            }
             case QEMU_OPTION_no_kvm_pit_reinjection: {
                 static GlobalProperty kvm_pit_lost_tick_policy = {
                     .driver   = "kvm-pit",