fix typo in the word affinities

This patch fixes just the word Affinites to Affinities (it's really
painful to search in TAGS without being able to find the right
function).
This commit is contained in:
Martin Kletzander 2012-12-17 16:01:41 +01:00
parent 8db1f2d228
commit b72c97e732
2 changed files with 6 additions and 6 deletions

View File

@ -604,7 +604,7 @@ error:
} }
static int static int
libxlDomainSetVcpuAffinites(libxlDriverPrivatePtr driver, virDomainObjPtr vm) libxlDomainSetVcpuAffinities(libxlDriverPrivatePtr driver, virDomainObjPtr vm)
{ {
libxlDomainObjPrivatePtr priv = vm->privateData; libxlDomainObjPrivatePtr priv = vm->privateData;
virDomainDefPtr def = vm->def; virDomainDefPtr def = vm->def;
@ -803,7 +803,7 @@ libxlVmStart(libxlDriverPrivatePtr driver, virDomainObjPtr vm,
if (libxlCreateDomEvents(vm) < 0) if (libxlCreateDomEvents(vm) < 0)
goto error; goto error;
if (libxlDomainSetVcpuAffinites(driver, vm) < 0) if (libxlDomainSetVcpuAffinities(driver, vm) < 0)
goto error; goto error;
if (!start_paused) { if (!start_paused) {

View File

@ -2025,7 +2025,7 @@ qemuProcessSetLinkStates(virDomainObjPtr vm)
/* Set CPU affinities for vcpus if vcpupin xml provided. */ /* Set CPU affinities for vcpus if vcpupin xml provided. */
static int static int
qemuProcessSetVcpuAffinites(virConnectPtr conn ATTRIBUTE_UNUSED, qemuProcessSetVcpuAffinities(virConnectPtr conn ATTRIBUTE_UNUSED,
virDomainObjPtr vm) virDomainObjPtr vm)
{ {
qemuDomainObjPrivatePtr priv = vm->privateData; qemuDomainObjPrivatePtr priv = vm->privateData;
@ -2058,7 +2058,7 @@ cleanup:
/* Set CPU affinities for emulator threads. */ /* Set CPU affinities for emulator threads. */
static int static int
qemuProcessSetEmulatorAffinites(virConnectPtr conn ATTRIBUTE_UNUSED, qemuProcessSetEmulatorAffinities(virConnectPtr conn ATTRIBUTE_UNUSED,
virDomainObjPtr vm) virDomainObjPtr vm)
{ {
virBitmapPtr cpumask; virBitmapPtr cpumask;
@ -3845,11 +3845,11 @@ int qemuProcessStart(virConnectPtr conn,
goto cleanup; goto cleanup;
VIR_DEBUG("Setting VCPU affinities"); VIR_DEBUG("Setting VCPU affinities");
if (qemuProcessSetVcpuAffinites(conn, vm) < 0) if (qemuProcessSetVcpuAffinities(conn, vm) < 0)
goto cleanup; goto cleanup;
VIR_DEBUG("Setting affinity of emulator threads"); VIR_DEBUG("Setting affinity of emulator threads");
if (qemuProcessSetEmulatorAffinites(conn, vm) < 0) if (qemuProcessSetEmulatorAffinities(conn, vm) < 0)
goto cleanup; goto cleanup;
VIR_DEBUG("Setting any required VM passwords"); VIR_DEBUG("Setting any required VM passwords");