diff options
author | Markus Armbruster <armbru@redhat.com> | 2024-03-01 13:06:41 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-03-09 18:56:36 +0300 |
commit | 7653b1eac956889a6bf0ad7ed3d4fe22d4d80c2e (patch) | |
tree | b8385f32223e6eac377ee3d41a3ef2155c997bfe | |
parent | 84644ac1b0f80d41b8a2f66547b83b2ad4a98576 (diff) | |
download | qemu-7653b1eac956889a6bf0ad7ed3d4fe22d4d80c2e.zip qemu-7653b1eac956889a6bf0ad7ed3d4fe22d4d80c2e.tar.gz qemu-7653b1eac956889a6bf0ad7ed3d4fe22d4d80c2e.tar.bz2 |
replay: Improve error messages about configuration conflicts
Improve
Record/replay feature is not supported for '-rtc base=localtime'
Record/replay feature is not supported for 'smp'
Record/replay feature is not supported for '-snapshot'
to
Record/replay is not supported with -rtc base=localtime
Record/replay is not supported with multiple CPUs
Record/replay is not supported with -snapshot
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | replay/replay.c | 2 | ||||
-rw-r--r-- | system/vl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/replay/replay.c b/replay/replay.c index 3fd241a..a2c576c 100644 --- a/replay/replay.c +++ b/replay/replay.c @@ -511,7 +511,7 @@ void replay_add_blocker(const char *feature) { Error *reason = NULL; - error_setg(&reason, "Record/replay feature is not supported for '%s'", + error_setg(&reason, "Record/replay is not supported with %s", feature); replay_blockers = g_slist_prepend(replay_blockers, reason); } diff --git a/system/vl.c b/system/vl.c index 48aae6e..70f4cec 100644 --- a/system/vl.c +++ b/system/vl.c @@ -1932,7 +1932,7 @@ static void qemu_apply_machine_options(QDict *qdict) } if (current_machine->smp.cpus > 1) { - replay_add_blocker("smp"); + replay_add_blocker("multiple CPUs"); } } |