mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
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:
committed by
Paolo Bonzini
parent
bf3175b499
commit
454012997e
2
vl.c
2
vl.c
@@ -3587,6 +3587,8 @@ int main(int argc, char **argv, char **envp)
|
||||
}
|
||||
break;
|
||||
case QEMU_OPTION_virtiocon:
|
||||
warn_report("This option is deprecated, "
|
||||
"use '-device virtconsole' instead");
|
||||
add_device_config(DEV_VIRTCON, optarg);
|
||||
default_virtcon = 0;
|
||||
if (strncmp(optarg, "mon:", 4) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user