mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Clear autofil fill flag when pinning iothread
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
This commit is contained in:
parent
375c185ca8
commit
361801362f
@ -6016,6 +6016,7 @@ qemuDomainPinIOThread(virDomainPtr dom,
|
||||
|
||||
virBitmapFree(iothrid->cpumask);
|
||||
iothrid->cpumask = cpumask;
|
||||
iothrid->autofill = false;
|
||||
|
||||
/* Configure the corresponding cpuset cgroup before set affinity. */
|
||||
if (virCgroupHasController(priv->cgroup,
|
||||
@ -6072,6 +6073,7 @@ qemuDomainPinIOThread(virDomainPtr dom,
|
||||
|
||||
virBitmapFree(iothrid->cpumask);
|
||||
iothrid->cpumask = cpumask;
|
||||
iothrid->autofill = false;
|
||||
|
||||
ret = virDomainSaveConfig(cfg->configDir, persistentDef);
|
||||
goto endjob;
|
||||
|
Loading…
x
Reference in New Issue
Block a user