* [Qemu-devel] [PATCH] Remove legacy -no-kvm-pit option
@ 2017-12-18 17:44 Thomas Huth
2017-12-19 10:56 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2017-12-18 17:44 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel
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",
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Remove legacy -no-kvm-pit option
2017-12-18 17:44 [Qemu-devel] [PATCH] Remove legacy -no-kvm-pit option Thomas Huth
@ 2017-12-19 10:56 ` Paolo Bonzini
2017-12-19 12:49 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2017-12-19 10:56 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Remove legacy -no-kvm-pit option
2017-12-19 10:56 ` Paolo Bonzini
@ 2017-12-19 12:49 ` Thomas Huth
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2017-12-19 12:49 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-19 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 17:44 [Qemu-devel] [PATCH] Remove legacy -no-kvm-pit option Thomas Huth
2017-12-19 10:56 ` Paolo Bonzini
2017-12-19 12:49 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).