mirror of https://github.com/xqemu/xqemu.git
qemu-options: Mark -virtioconsole as deprecated
The qemu-doc already states that this option is only maintained for backward compatibility and "-device virtconsole" should be used instead. So let's take the next step and mark this option officially as deprecated. Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1525446790-16139-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bf3175b499
commit
454012997e
|
@ -2931,6 +2931,11 @@ The @code{-localtime} option has been replaced by @code{-rtc base=localtime}.
|
||||||
|
|
||||||
The @code{-startdate} option has been replaced by @code{-rtc base=@var{date}}.
|
The @code{-startdate} option has been replaced by @code{-rtc base=@var{date}}.
|
||||||
|
|
||||||
|
@subsection -virtioconsole (since 2.13.0)
|
||||||
|
|
||||||
|
Option @option{-virtioconsole} has been replaced by
|
||||||
|
@option{-device virtconsole}.
|
||||||
|
|
||||||
@section qemu-img command line arguments
|
@section qemu-img command line arguments
|
||||||
|
|
||||||
@subsection convert -s (since 2.0.0)
|
@subsection convert -s (since 2.0.0)
|
||||||
|
|
|
@ -3675,10 +3675,7 @@ STEXI
|
||||||
@item -virtioconsole @var{c}
|
@item -virtioconsole @var{c}
|
||||||
@findex -virtioconsole
|
@findex -virtioconsole
|
||||||
Set virtio console.
|
Set virtio console.
|
||||||
|
This option is deprecated, please use @option{-device virtconsole} instead.
|
||||||
This option is maintained for backward compatibility.
|
|
||||||
|
|
||||||
Please use @code{-device virtconsole} for the new way of invocation.
|
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
||||||
DEF("show-cursor", 0, QEMU_OPTION_show_cursor, \
|
DEF("show-cursor", 0, QEMU_OPTION_show_cursor, \
|
||||||
|
|
2
vl.c
2
vl.c
|
@ -3587,6 +3587,8 @@ int main(int argc, char **argv, char **envp)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case QEMU_OPTION_virtiocon:
|
case QEMU_OPTION_virtiocon:
|
||||||
|
warn_report("This option is deprecated, "
|
||||||
|
"use '-device virtconsole' instead");
|
||||||
add_device_config(DEV_VIRTCON, optarg);
|
add_device_config(DEV_VIRTCON, optarg);
|
||||||
default_virtcon = 0;
|
default_virtcon = 0;
|
||||||
if (strncmp(optarg, "mon:", 4) == 0) {
|
if (strncmp(optarg, "mon:", 4) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue