mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu: Add missing 'p' to qemuCgrouEmulatorAllNodesRestore
This commit is contained in:
parent
34a6e84748
commit
f428ff8ad4
@ -1149,7 +1149,7 @@ qemuCgroupEmulatorAllNodesDataFree(qemuCgroupEmulatorAllNodesDataPtr data)
|
||||
* Allows all NUMA nodes for the qemu emulator thread temporarily. This is
|
||||
* necessary when hotplugging cpus since it requires memory allocated in the
|
||||
* DMA region. Afterwards the operation can be reverted by
|
||||
* qemuCgrouEmulatorAllNodesRestore.
|
||||
* qemuCgroupEmulatorAllNodesRestore.
|
||||
*
|
||||
* Returns 0 on success -1 on error
|
||||
*/
|
||||
@ -1196,14 +1196,14 @@ qemuCgroupEmulatorAllNodesAllow(virCgroupPtr cgroup,
|
||||
|
||||
|
||||
/**
|
||||
* qemuCgrouEmulatorAllNodesRestore:
|
||||
* qemuCgroupEmulatorAllNodesRestore:
|
||||
* @data: data structure created by qemuCgroupEmulatorAllNodesAllow
|
||||
*
|
||||
* Rolls back the setting done by qemuCgroupEmulatorAllNodesAllow and frees the
|
||||
* associated data.
|
||||
*/
|
||||
void
|
||||
qemuCgrouEmulatorAllNodesRestore(qemuCgroupEmulatorAllNodesDataPtr data)
|
||||
qemuCgroupEmulatorAllNodesRestore(qemuCgroupEmulatorAllNodesDataPtr data)
|
||||
{
|
||||
virErrorPtr err;
|
||||
|
||||
|
@ -66,6 +66,6 @@ struct _qemuCgroupEmulatorAllNodesData {
|
||||
|
||||
int qemuCgroupEmulatorAllNodesAllow(virCgroupPtr cgroup,
|
||||
qemuCgroupEmulatorAllNodesDataPtr *data);
|
||||
void qemuCgrouEmulatorAllNodesRestore(qemuCgroupEmulatorAllNodesDataPtr data);
|
||||
void qemuCgroupEmulatorAllNodesRestore(qemuCgroupEmulatorAllNodesDataPtr data);
|
||||
|
||||
#endif /* __QEMU_CGROUP_H__ */
|
||||
|
@ -4891,7 +4891,7 @@ qemuDomainSetVcpusLive(virQEMUDriverPtr driver,
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
qemuCgrouEmulatorAllNodesRestore(emulatorCgroup);
|
||||
qemuCgroupEmulatorAllNodesRestore(emulatorCgroup);
|
||||
virBitmapFree(vcpumap);
|
||||
|
||||
return ret;
|
||||
|
@ -4925,7 +4925,7 @@ qemuProcessSetupHotpluggableVcpus(virQEMUDriverPtr driver,
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
qemuCgrouEmulatorAllNodesRestore(emulatorCgroup);
|
||||
qemuCgroupEmulatorAllNodesRestore(emulatorCgroup);
|
||||
VIR_FREE(bootHotplug);
|
||||
virJSONValueFree(vcpuprops);
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user