[PATCH 04/27] cpu: Move error messages onto a single line

Michal Privoznik mprivozn at redhat.com
Fri Aug 25 07:40:01 UTC 2023


Error messages are exempt from the 80 columns rule. Move them
onto one line.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/cpu/cpu_x86.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index b9513e24d5..7a7f3b409d 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -1899,8 +1899,7 @@ x86Compute(virCPUDef *host,
     result = x86ModelCompare(host_model, cpu_require);
     if (result == SUBSET || result == UNRELATED) {
         x86DataSubtract(&cpu_require->data, &host_model->data);
-        virX86CpuIncompatible(N_("Host CPU does not provide required "
-                                 "features"),
+        virX86CpuIncompatible(N_("Host CPU does not provide required features"),
                               &cpu_require->data);
         return VIR_CPU_COMPARE_INCOMPATIBLE;
     }
@@ -1919,8 +1918,7 @@ x86Compute(virCPUDef *host,
     if (ret == VIR_CPU_COMPARE_SUPERSET
         && cpu->type == VIR_CPU_TYPE_GUEST
         && cpu->match == VIR_CPU_MATCH_STRICT) {
-        virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: "
-                                 "Extra features"),
+        virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: Extra features"),
                               &diff->data);
         return VIR_CPU_COMPARE_INCOMPATIBLE;
     }
-- 
2.41.0



More information about the libvir-list mailing list