https://bugzilla.redhat.com/show_bug.cgi?id=
1218577
Treat pinning an IOThread via API as if someone added an IOThread to
ensure the iothreadid doesn't cause the guest to disappear
virBitmapFree(iothrid->cpumask);
iothrid->cpumask = cpumask;
+ iothrid->autofill = false;
/* Configure the corresponding cpuset cgroup before set affinity. */
if (virCgroupHasController(priv->cgroup,
virBitmapFree(iothrid->cpumask);
iothrid->cpumask = cpumask;
+ iothrid->autofill = false;
ret = virDomainSaveConfig(cfg->configDir, persistentDef);
goto endjob;