mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix the unused parameter which causes the build failure
This commit is contained in:
parent
5828080f71
commit
b0f1ba47dd
|
@ -1999,7 +1999,7 @@ qemuProcessSetLinkStates(virDomainObjPtr vm)
|
|||
|
||||
/* Set CPU affinities for vcpus if vcpupin xml provided. */
|
||||
static int
|
||||
qemuProcessSetVcpuAffinites(virConnectPtr conn,
|
||||
qemuProcessSetVcpuAffinites(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
virDomainObjPtr vm)
|
||||
{
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
|
@ -2032,7 +2032,7 @@ cleanup:
|
|||
|
||||
/* Set CPU affinities for emulator threads. */
|
||||
static int
|
||||
qemuProcessSetEmulatorAffinites(virConnectPtr conn,
|
||||
qemuProcessSetEmulatorAffinites(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
virDomainObjPtr vm)
|
||||
{
|
||||
virBitmapPtr cpumask;
|
||||
|
|
Loading…
Reference in New Issue