mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
cpu: Move error messages onto a single line
Error messages are exempt from the 80 columns rule. Move them onto one line. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
80178428ca
commit
37ad746839
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user