mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
rename qemuSetupHostdevCGroup to qemuSetupHostdevCgroup
Change CGroup to Cgroup to match other functions in the file.
This commit is contained in:
parent
e4ab3b5d38
commit
b57ce788a7
@ -239,7 +239,7 @@ qemuSetupHostSCSIDeviceCgroup(virSCSIDevicePtr dev ATTRIBUTE_UNUSED,
|
||||
}
|
||||
|
||||
int
|
||||
qemuSetupHostdevCGroup(virDomainObjPtr vm,
|
||||
qemuSetupHostdevCgroup(virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr dev)
|
||||
{
|
||||
int ret = -1;
|
||||
@ -592,7 +592,7 @@ qemuSetupDevicesCgroup(virQEMUDriverPtr driver,
|
||||
goto cleanup;
|
||||
|
||||
for (i = 0; i < vm->def->nhostdevs; i++) {
|
||||
if (qemuSetupHostdevCGroup(vm, vm->def->hostdevs[i]) < 0)
|
||||
if (qemuSetupHostdevCgroup(vm, vm->def->hostdevs[i]) < 0)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ int qemuSetupDiskCgroup(virDomainObjPtr vm,
|
||||
virDomainDiskDefPtr disk);
|
||||
int qemuTeardownDiskCgroup(virDomainObjPtr vm,
|
||||
virDomainDiskDefPtr disk);
|
||||
int qemuSetupHostdevCGroup(virDomainObjPtr vm,
|
||||
int qemuSetupHostdevCgroup(virDomainObjPtr vm,
|
||||
virDomainHostdevDefPtr dev)
|
||||
ATTRIBUTE_RETURN_CHECK;
|
||||
int qemuTeardownHostdevCgroup(virDomainObjPtr vm,
|
||||
|
@ -1290,7 +1290,7 @@ qemuDomainAttachHostPCIDevice(virQEMUDriverPtr driver,
|
||||
}
|
||||
vm->def->hostdevs[--(vm->def->nhostdevs)] = NULL;
|
||||
|
||||
if (qemuSetupHostdevCGroup(vm, hostdev) < 0)
|
||||
if (qemuSetupHostdevCgroup(vm, hostdev) < 0)
|
||||
goto error;
|
||||
teardowncgroup = true;
|
||||
|
||||
@ -1899,7 +1899,7 @@ qemuDomainAttachHostUSBDevice(virQEMUDriverPtr driver,
|
||||
|
||||
added = true;
|
||||
|
||||
if (qemuSetupHostdevCGroup(vm, hostdev) < 0)
|
||||
if (qemuSetupHostdevCgroup(vm, hostdev) < 0)
|
||||
goto cleanup;
|
||||
teardowncgroup = true;
|
||||
|
||||
@ -1994,7 +1994,7 @@ qemuDomainAttachHostSCSIDevice(virConnectPtr conn,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (qemuSetupHostdevCGroup(vm, hostdev) < 0)
|
||||
if (qemuSetupHostdevCgroup(vm, hostdev) < 0)
|
||||
goto cleanup;
|
||||
teardowncgroup = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user