mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: process: Remove unnecessary argument and rename function
We set just one affinity of the emulator and the virConnectPtr isn't needed for that function.
This commit is contained in:
parent
c68ae7f611
commit
a821f1f028
@ -2258,8 +2258,7 @@ qemuProcessSetVcpuAffinities(virDomainObjPtr vm)
|
|||||||
|
|
||||||
/* Set CPU affinities for emulator threads. */
|
/* Set CPU affinities for emulator threads. */
|
||||||
static int
|
static int
|
||||||
qemuProcessSetEmulatorAffinities(virConnectPtr conn ATTRIBUTE_UNUSED,
|
qemuProcessSetEmulatorAffinity(virDomainObjPtr vm)
|
||||||
virDomainObjPtr vm)
|
|
||||||
{
|
{
|
||||||
virBitmapPtr cpumask;
|
virBitmapPtr cpumask;
|
||||||
virDomainDefPtr def = vm->def;
|
virDomainDefPtr def = vm->def;
|
||||||
@ -4268,7 +4267,7 @@ int qemuProcessStart(virConnectPtr conn,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
VIR_DEBUG("Setting affinity of emulator threads");
|
VIR_DEBUG("Setting affinity of emulator threads");
|
||||||
if (qemuProcessSetEmulatorAffinities(conn, vm) < 0)
|
if (qemuProcessSetEmulatorAffinity(vm) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
VIR_DEBUG("Setting any required VM passwords");
|
VIR_DEBUG("Setting any required VM passwords");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user