mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
Avoid straying </cpuset>
by using the same condition as for the <cpuset>. Fixes "make check" found by http://honk.sigxcpu.org:8001/job/libvirt-check/160/
This commit is contained in:
parent
11c47d979c
commit
dc9d7a171c
@ -13687,8 +13687,8 @@ virDomainDefFormatInternal(virDomainDefPtr def,
|
|||||||
virBufferAsprintf(buf, "cpuset='%s'/>\n", cpumask);
|
virBufferAsprintf(buf, "cpuset='%s'/>\n", cpumask);
|
||||||
VIR_FREE(cpumask);
|
VIR_FREE(cpumask);
|
||||||
}
|
}
|
||||||
|
if (def->cputune.shares ||
|
||||||
if (def->cputune.shares || def->cputune.vcpupin ||
|
(def->cputune.vcpupin && !virDomainIsAllVcpupinInherited(def)) ||
|
||||||
def->cputune.period || def->cputune.quota ||
|
def->cputune.period || def->cputune.quota ||
|
||||||
def->cputune.emulatorpin ||
|
def->cputune.emulatorpin ||
|
||||||
def->cputune.emulator_period || def->cputune.emulator_quota)
|
def->cputune.emulator_period || def->cputune.emulator_quota)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user