diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-11 13:50:43 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-12 14:23:17 +0200 |
commit | 7adb75d6be0b11ace0fabfb8cddc890243773782 (patch) | |
tree | 2edb5919285f05a9e5469b9ed92bbc86b45dd7cc /softmmu | |
parent | e23a13c0426774443543d78eef84ec8404534f0b (diff) |
vl: make machine type deprecation a warning
error_report should generally be followed by a failure; if we can proceed
anyway, that is just a warning and should be communicated properly to
the user with warn_report.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220511175043.27327-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index edba74f075..817d515783 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3631,7 +3631,7 @@ void qemu_init(int argc, char **argv, char **envp) machine_class = MACHINE_GET_CLASS(current_machine); if (!qtest_enabled() && machine_class->deprecation_reason) { - error_report("Machine type '%s' is deprecated: %s", + warn_report("Machine type '%s' is deprecated: %s", machine_class->name, machine_class->deprecation_reason); } |