mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 10:05:31 +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);
|
result = x86ModelCompare(host_model, cpu_require);
|
||||||
if (result == SUBSET || result == UNRELATED) {
|
if (result == SUBSET || result == UNRELATED) {
|
||||||
x86DataSubtract(&cpu_require->data, &host_model->data);
|
x86DataSubtract(&cpu_require->data, &host_model->data);
|
||||||
virX86CpuIncompatible(N_("Host CPU does not provide required "
|
virX86CpuIncompatible(N_("Host CPU does not provide required features"),
|
||||||
"features"),
|
|
||||||
&cpu_require->data);
|
&cpu_require->data);
|
||||||
return VIR_CPU_COMPARE_INCOMPATIBLE;
|
return VIR_CPU_COMPARE_INCOMPATIBLE;
|
||||||
}
|
}
|
||||||
@ -1919,8 +1918,7 @@ x86Compute(virCPUDef *host,
|
|||||||
if (ret == VIR_CPU_COMPARE_SUPERSET
|
if (ret == VIR_CPU_COMPARE_SUPERSET
|
||||||
&& cpu->type == VIR_CPU_TYPE_GUEST
|
&& cpu->type == VIR_CPU_TYPE_GUEST
|
||||||
&& cpu->match == VIR_CPU_MATCH_STRICT) {
|
&& cpu->match == VIR_CPU_MATCH_STRICT) {
|
||||||
virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: "
|
virX86CpuIncompatible(N_("Host CPU does not strictly match guest CPU: Extra features"),
|
||||||
"Extra features"),
|
|
||||||
&diff->data);
|
&diff->data);
|
||||||
return VIR_CPU_COMPARE_INCOMPATIBLE;
|
return VIR_CPU_COMPARE_INCOMPATIBLE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user