mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
save domain status after modifing vcpupin
We should save domain status after modifing vcpupin. If not, we will get wrong vcpupin information after rebooting libvirtd.
This commit is contained in:
parent
53d03ba837
commit
fb2a2e2611
@ -3126,6 +3126,8 @@ qemudDomainPinVcpuFlags(virDomainPtr dom,
|
||||
}
|
||||
}
|
||||
|
||||
if (virDomainSaveStatus(driver->caps, driver->stateDir, vm) < 0)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (flags & VIR_DOMAIN_AFFECT_CONFIG) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user