* [Qemu-devel] [PATCH 0/2] Deprecation patches @ 2019-02-07 13:14 Thomas Huth 2019-02-07 13:14 ` [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good Thomas Huth 2019-02-07 13:14 ` [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock Thomas Huth 0 siblings, 2 replies; 8+ messages in thread From: Thomas Huth @ 2019-02-07 13:14 UTC (permalink / raw) To: Paolo Bonzini, Peter Maydell, qemu-devel; +Cc: Daniel P. Berrange, qemu-trivial A fix for a wrongly resolved merge conflict in qemu-deprecated.texi, and the removal of the deprecated -clock option. Thomas Huth (2): qemu-deprecated: Remove -virtioconsole and -no-frame for good qemu-options: Remove deprecated option -clock qemu-deprecated.texi | 17 ----------------- qemu-options.hx | 3 --- vl.c | 6 ------ 3 files changed, 26 deletions(-) -- 1.8.3.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good 2019-02-07 13:14 [Qemu-devel] [PATCH 0/2] Deprecation patches Thomas Huth @ 2019-02-07 13:14 ` Thomas Huth 2019-02-07 13:52 ` Peter Maydell 2019-02-14 9:40 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier 2019-02-07 13:14 ` [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock Thomas Huth 1 sibling, 2 replies; 8+ messages in thread From: Thomas Huth @ 2019-02-07 13:14 UTC (permalink / raw) To: Paolo Bonzini, Peter Maydell, qemu-devel; +Cc: Daniel P. Berrange, qemu-trivial The two sections have accidentally been added again during the merge of Paolo's and Gerd's trees. Fixes: 3e29da9fd81002a0c03041aaa26dea6d9dd9bd65 Signed-off-by: Thomas Huth <thuth@redhat.com> --- qemu-deprecated.texi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index 80b0702..90e5860 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -37,18 +37,6 @@ would automatically enable USB support on the machine type. If using the new syntax, USB support must be explicitly enabled via the ``-machine usb=on'' argument. -@subsection -virtioconsole (since 3.0.0) - -Option @option{-virtioconsole} has been replaced by -@option{-device virtconsole}. - -@subsection -no-frame (since 2.12.0) - -The @code{--no-frame} argument works with SDL 1.2 only. The other user -interfaces never implemented this in the first place. So this will be -removed together with SDL 1.2 support. ->>>>>>> remotes/bonzini/tags/for-upstream - @subsection -clock (since 3.0.0) The @code{-clock} option is ignored since QEMU version 1.7.0. There is no -- 1.8.3.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good 2019-02-07 13:14 ` [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good Thomas Huth @ 2019-02-07 13:52 ` Peter Maydell 2019-02-07 15:54 ` Thomas Huth 2019-02-14 9:40 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier 1 sibling, 1 reply; 8+ messages in thread From: Peter Maydell @ 2019-02-07 13:52 UTC (permalink / raw) To: Thomas Huth Cc: Paolo Bonzini, QEMU Developers, Daniel P. Berrange, QEMU Trivial On Thu, 7 Feb 2019 at 13:15, Thomas Huth <thuth@redhat.com> wrote: > > The two sections have accidentally been added again during the > merge of Paolo's and Gerd's trees. > > Fixes: 3e29da9fd81002a0c03041aaa26dea6d9dd9bd65 > Signed-off-by: Thomas Huth <thuth@redhat.com> > --- > qemu-deprecated.texi | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi > index 80b0702..90e5860 100644 > --- a/qemu-deprecated.texi > +++ b/qemu-deprecated.texi > @@ -37,18 +37,6 @@ would automatically enable USB support on the machine type. > If using the new syntax, USB support must be explicitly > enabled via the ``-machine usb=on'' argument. > > -@subsection -virtioconsole (since 3.0.0) > - > -Option @option{-virtioconsole} has been replaced by > -@option{-device virtconsole}. > - > -@subsection -no-frame (since 2.12.0) > - > -The @code{--no-frame} argument works with SDL 1.2 only. The other user > -interfaces never implemented this in the first place. So this will be > -removed together with SDL 1.2 support. > ->>>>>>> remotes/bonzini/tags/for-upstream > - > @subsection -clock (since 3.0.0) > > The @code{-clock} option is ignored since QEMU version 1.7.0. There is no > -- This was a mismerge on my part -- particularly egregious since I left the >>>>> conflict marker in... Reviewed-by: Peter Maydell <peter.maydell@linaro.org> PS: do we have a document where we list the options that have entirely gone away, so that when a user of QEMU 4.1 tries "-virtioconsole" and it doesn't work they know what the replacement is ? thanks -- PMM ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good 2019-02-07 13:52 ` Peter Maydell @ 2019-02-07 15:54 ` Thomas Huth 0 siblings, 0 replies; 8+ messages in thread From: Thomas Huth @ 2019-02-07 15:54 UTC (permalink / raw) To: Peter Maydell; +Cc: QEMU Trivial, Paolo Bonzini, QEMU Developers On 2019-02-07 14:52, Peter Maydell wrote: > On Thu, 7 Feb 2019 at 13:15, Thomas Huth <thuth@redhat.com> wrote: >> >> The two sections have accidentally been added again during the >> merge of Paolo's and Gerd's trees. >> >> Fixes: 3e29da9fd81002a0c03041aaa26dea6d9dd9bd65 >> Signed-off-by: Thomas Huth <thuth@redhat.com> >> --- >> qemu-deprecated.texi | 12 ------------ >> 1 file changed, 12 deletions(-) >> >> diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi >> index 80b0702..90e5860 100644 >> --- a/qemu-deprecated.texi >> +++ b/qemu-deprecated.texi >> @@ -37,18 +37,6 @@ would automatically enable USB support on the machine type. >> If using the new syntax, USB support must be explicitly >> enabled via the ``-machine usb=on'' argument. >> >> -@subsection -virtioconsole (since 3.0.0) >> - >> -Option @option{-virtioconsole} has been replaced by >> -@option{-device virtconsole}. >> - >> -@subsection -no-frame (since 2.12.0) >> - >> -The @code{--no-frame} argument works with SDL 1.2 only. The other user >> -interfaces never implemented this in the first place. So this will be >> -removed together with SDL 1.2 support. >> ->>>>>>> remotes/bonzini/tags/for-upstream >> - >> @subsection -clock (since 3.0.0) >> >> The @code{-clock} option is ignored since QEMU version 1.7.0. There is no >> -- > > This was a mismerge on my part -- particularly egregious since > I left the >>>>> conflict marker in... > > Reviewed-by: Peter Maydell <peter.maydell@linaro.org> > > PS: do we have a document where we list the options that have > entirely gone away, so that when a user of QEMU 4.1 tries > "-virtioconsole" and it doesn't work they know what the replacement is ? No, we only put it into the ChangeLog so far, so people who search for the options should be able to find them. Most of the deprecated options like -virtioconsole are also rather hardly used, so I don't think it's worth the effort to maintain a separate document for this. Thomas ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good 2019-02-07 13:14 ` [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good Thomas Huth 2019-02-07 13:52 ` Peter Maydell @ 2019-02-14 9:40 ` Laurent Vivier 1 sibling, 0 replies; 8+ messages in thread From: Laurent Vivier @ 2019-02-14 9:40 UTC (permalink / raw) To: Thomas Huth, Paolo Bonzini, Peter Maydell, qemu-devel Cc: qemu-trivial, Daniel P. Berrange On 07/02/2019 14:14, Thomas Huth wrote: > The two sections have accidentally been added again during the > merge of Paolo's and Gerd's trees. > > Fixes: 3e29da9fd81002a0c03041aaa26dea6d9dd9bd65 > Signed-off-by: Thomas Huth <thuth@redhat.com> > --- > qemu-deprecated.texi | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi > index 80b0702..90e5860 100644 > --- a/qemu-deprecated.texi > +++ b/qemu-deprecated.texi > @@ -37,18 +37,6 @@ would automatically enable USB support on the machine type. > If using the new syntax, USB support must be explicitly > enabled via the ``-machine usb=on'' argument. > > -@subsection -virtioconsole (since 3.0.0) > - > -Option @option{-virtioconsole} has been replaced by > -@option{-device virtconsole}. > - > -@subsection -no-frame (since 2.12.0) > - > -The @code{--no-frame} argument works with SDL 1.2 only. The other user > -interfaces never implemented this in the first place. So this will be > -removed together with SDL 1.2 support. > ->>>>>>> remotes/bonzini/tags/for-upstream > - > @subsection -clock (since 3.0.0) > > The @code{-clock} option is ignored since QEMU version 1.7.0. There is no > Applied to my trivial-patches branch. Thanks, Laurent ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock 2019-02-07 13:14 [Qemu-devel] [PATCH 0/2] Deprecation patches Thomas Huth 2019-02-07 13:14 ` [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good Thomas Huth @ 2019-02-07 13:14 ` Thomas Huth 2019-02-07 16:23 ` Philippe Mathieu-Daudé 2019-02-14 9:41 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier 1 sibling, 2 replies; 8+ messages in thread From: Thomas Huth @ 2019-02-07 13:14 UTC (permalink / raw) To: Paolo Bonzini, Peter Maydell, qemu-devel; +Cc: Daniel P. Berrange, qemu-trivial The option is only a dummy since a long time. We've finally deprecated it in QEMU v3.0, so it's time to remove it now. Signed-off-by: Thomas Huth <thuth@redhat.com> --- qemu-deprecated.texi | 5 ----- qemu-options.hx | 3 --- vl.c | 6 ------ 3 files changed, 14 deletions(-) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index 90e5860..fe90555 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -37,11 +37,6 @@ would automatically enable USB support on the machine type. If using the new syntax, USB support must be explicitly enabled via the ``-machine usb=on'' argument. -@subsection -clock (since 3.0.0) - -The @code{-clock} option is ignored since QEMU version 1.7.0. There is no -replacement since it is not needed anymore. - @subsection -drive file=json:@{...@{'driver':'file'@}@} (since 3.0) The 'file' driver for drives is no longer appropriate for character or host diff --git a/qemu-options.hx b/qemu-options.hx index 06ef1a7..77bd98e 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3444,9 +3444,6 @@ Load the contents of @var{file} as an option ROM. This option is useful to load things like EtherBoot. ETEXI -HXCOMM Silently ignored for compatibility -DEF("clock", HAS_ARG, QEMU_OPTION_clock, "", QEMU_ARCH_ALL) - DEF("rtc", HAS_ARG, QEMU_OPTION_rtc, \ "-rtc [base=utc|localtime|<datetime>][,clock=host|rt|vm][,driftfix=none|slew]\n" \ " set the RTC base and clock, enable drift fix for clock ticks (x86 only)\n", diff --git a/vl.c b/vl.c index 9e4dba7..90ff233 100644 --- a/vl.c +++ b/vl.c @@ -3735,12 +3735,6 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_old_param: old_param = 1; break; - case QEMU_OPTION_clock: - /* Clock options no longer exist. Keep this option for - * backward compatibility. - */ - warn_report("This option is ignored and will be removed soon"); - break; case QEMU_OPTION_rtc: opts = qemu_opts_parse_noisily(qemu_find_opts("rtc"), optarg, false); -- 1.8.3.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock 2019-02-07 13:14 ` [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock Thomas Huth @ 2019-02-07 16:23 ` Philippe Mathieu-Daudé 2019-02-14 9:41 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier 1 sibling, 0 replies; 8+ messages in thread From: Philippe Mathieu-Daudé @ 2019-02-07 16:23 UTC (permalink / raw) To: Thomas Huth, Paolo Bonzini, Peter Maydell, qemu-devel; +Cc: qemu-trivial On 2/7/19 2:14 PM, Thomas Huth wrote: > The option is only a dummy since a long time. We've finally deprecated > it in QEMU v3.0, so it's time to remove it now. > > Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > qemu-deprecated.texi | 5 ----- > qemu-options.hx | 3 --- > vl.c | 6 ------ > 3 files changed, 14 deletions(-) > > diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi > index 90e5860..fe90555 100644 > --- a/qemu-deprecated.texi > +++ b/qemu-deprecated.texi > @@ -37,11 +37,6 @@ would automatically enable USB support on the machine type. > If using the new syntax, USB support must be explicitly > enabled via the ``-machine usb=on'' argument. > > -@subsection -clock (since 3.0.0) > - > -The @code{-clock} option is ignored since QEMU version 1.7.0. There is no > -replacement since it is not needed anymore. > - > @subsection -drive file=json:@{...@{'driver':'file'@}@} (since 3.0) > > The 'file' driver for drives is no longer appropriate for character or host > diff --git a/qemu-options.hx b/qemu-options.hx > index 06ef1a7..77bd98e 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -3444,9 +3444,6 @@ Load the contents of @var{file} as an option ROM. > This option is useful to load things like EtherBoot. > ETEXI > > -HXCOMM Silently ignored for compatibility > -DEF("clock", HAS_ARG, QEMU_OPTION_clock, "", QEMU_ARCH_ALL) > - > DEF("rtc", HAS_ARG, QEMU_OPTION_rtc, \ > "-rtc [base=utc|localtime|<datetime>][,clock=host|rt|vm][,driftfix=none|slew]\n" \ > " set the RTC base and clock, enable drift fix for clock ticks (x86 only)\n", > diff --git a/vl.c b/vl.c > index 9e4dba7..90ff233 100644 > --- a/vl.c > +++ b/vl.c > @@ -3735,12 +3735,6 @@ int main(int argc, char **argv, char **envp) > case QEMU_OPTION_old_param: > old_param = 1; > break; > - case QEMU_OPTION_clock: > - /* Clock options no longer exist. Keep this option for > - * backward compatibility. > - */ > - warn_report("This option is ignored and will be removed soon"); > - break; > case QEMU_OPTION_rtc: > opts = qemu_opts_parse_noisily(qemu_find_opts("rtc"), optarg, > false); > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] qemu-options: Remove deprecated option -clock 2019-02-07 13:14 ` [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock Thomas Huth 2019-02-07 16:23 ` Philippe Mathieu-Daudé @ 2019-02-14 9:41 ` Laurent Vivier 1 sibling, 0 replies; 8+ messages in thread From: Laurent Vivier @ 2019-02-14 9:41 UTC (permalink / raw) To: Thomas Huth, Paolo Bonzini, Peter Maydell, qemu-devel Cc: qemu-trivial, Daniel P. Berrange On 07/02/2019 14:14, Thomas Huth wrote: > The option is only a dummy since a long time. We've finally deprecated > it in QEMU v3.0, so it's time to remove it now. > > Signed-off-by: Thomas Huth <thuth@redhat.com> > --- > qemu-deprecated.texi | 5 ----- > qemu-options.hx | 3 --- > vl.c | 6 ------ > 3 files changed, 14 deletions(-) > > diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi > index 90e5860..fe90555 100644 > --- a/qemu-deprecated.texi > +++ b/qemu-deprecated.texi > @@ -37,11 +37,6 @@ would automatically enable USB support on the machine type. > If using the new syntax, USB support must be explicitly > enabled via the ``-machine usb=on'' argument. > > -@subsection -clock (since 3.0.0) > - > -The @code{-clock} option is ignored since QEMU version 1.7.0. There is no > -replacement since it is not needed anymore. > - > @subsection -drive file=json:@{...@{'driver':'file'@}@} (since 3.0) > > The 'file' driver for drives is no longer appropriate for character or host > diff --git a/qemu-options.hx b/qemu-options.hx > index 06ef1a7..77bd98e 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -3444,9 +3444,6 @@ Load the contents of @var{file} as an option ROM. > This option is useful to load things like EtherBoot. > ETEXI > > -HXCOMM Silently ignored for compatibility > -DEF("clock", HAS_ARG, QEMU_OPTION_clock, "", QEMU_ARCH_ALL) > - > DEF("rtc", HAS_ARG, QEMU_OPTION_rtc, \ > "-rtc [base=utc|localtime|<datetime>][,clock=host|rt|vm][,driftfix=none|slew]\n" \ > " set the RTC base and clock, enable drift fix for clock ticks (x86 only)\n", > diff --git a/vl.c b/vl.c > index 9e4dba7..90ff233 100644 > --- a/vl.c > +++ b/vl.c > @@ -3735,12 +3735,6 @@ int main(int argc, char **argv, char **envp) > case QEMU_OPTION_old_param: > old_param = 1; > break; > - case QEMU_OPTION_clock: > - /* Clock options no longer exist. Keep this option for > - * backward compatibility. > - */ > - warn_report("This option is ignored and will be removed soon"); > - break; > case QEMU_OPTION_rtc: > opts = qemu_opts_parse_noisily(qemu_find_opts("rtc"), optarg, > false); > Applied to my trivial-patches branch. Thanks, Laurent ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-02-14 9:41 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-02-07 13:14 [Qemu-devel] [PATCH 0/2] Deprecation patches Thomas Huth 2019-02-07 13:14 ` [Qemu-devel] [PATCH 1/2] qemu-deprecated: Remove -virtioconsole and -no-frame for good Thomas Huth 2019-02-07 13:52 ` Peter Maydell 2019-02-07 15:54 ` Thomas Huth 2019-02-14 9:40 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier 2019-02-07 13:14 ` [Qemu-devel] [PATCH 2/2] qemu-options: Remove deprecated option -clock Thomas Huth 2019-02-07 16:23 ` Philippe Mathieu-Daudé 2019-02-14 9:41 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier
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).