[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/12] migration/colo: Improve an x-colo-lost-heartbeat error
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 11/12] migration/colo: Improve an x-colo-lost-heartbeat error message |
Date: |
Tue, 07 Feb 2023 11:10:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Juan Quintela <quintela@redhat.com> writes:
> Markus Armbruster <armbru@redhat.com> wrote:
>> The QERR_ macros are leftovers from the days of "rich" error objects.
>> We've been trying to reduce their remaining use.
>>
>> Get rid of a use of QERR_FEATURE_DISABLED, and improve the somewhat
>> imprecise error message
>>
>> (qemu) x_colo_lost_heartbeat
>> Error: The feature 'colo' is not enabled
>>
>> to
>>
>> Error: VM is not in COLO mode
>>
>> Signed-off-by: Markus Armbruster <armbru@redhat.com>
>
> Reviewed-by: Juan Quintela <quintela@redhat.com>
>
> Althought in this case which error message is better is not so clear.
> Colo mode is compiled in, but it is not being "enabled".
In my new error message, I tried to convey that it is about the state of
the VM, not the state of the QEMU binary.
- [PATCH 02/12] dump: Improve error message when target doesn't support memory dump, (continued)
- [PATCH 02/12] dump: Improve error message when target doesn't support memory dump, Markus Armbruster, 2023/02/07
- [PATCH 05/12] hw/smbios: Dumb down smbios_entry_add() stub, Markus Armbruster, 2023/02/07
- [PATCH 12/12] rocker: Tweak stubbed out monitor commands' error messages, Markus Armbruster, 2023/02/07
- [PATCH 11/12] migration/colo: Improve an x-colo-lost-heartbeat error message, Markus Armbruster, 2023/02/07
- [PATCH 09/12] replay: Simplify setting replay blockers, Markus Armbruster, 2023/02/07
- [PATCH 10/12] hw/core: Improve the query-hotpluggable-cpus error message, Markus Armbruster, 2023/02/07
- [PATCH 06/12] hw/acpi: Dumb down acpi_table_add() stub, Markus Armbruster, 2023/02/07
- [PATCH 08/12] qga: Drop dangling reference to QERR_QGA_LOGGING_DISABLED, Markus Armbruster, 2023/02/07