mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
drvbhyve: Clean-up some used ATTRIBUTE_UNUSEDs.
This commit is contained in:
parent
47fb613873
commit
0dba4a4d42
@ -62,7 +62,7 @@ bhyveCollectPCIAddress(virDomainDefPtr def ATTRIBUTE_UNUSED,
|
|||||||
}
|
}
|
||||||
|
|
||||||
virDomainPCIAddressSetPtr
|
virDomainPCIAddressSetPtr
|
||||||
bhyveDomainPCIAddressSetCreate(virDomainDefPtr def ATTRIBUTE_UNUSED, unsigned int nbuses)
|
bhyveDomainPCIAddressSetCreate(virDomainDefPtr def, unsigned int nbuses)
|
||||||
{
|
{
|
||||||
virDomainPCIAddressSetPtr addrs;
|
virDomainPCIAddressSetPtr addrs;
|
||||||
|
|
||||||
|
@ -231,7 +231,7 @@ bhyveConnectClose(virConnectPtr conn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
bhyveConnectGetHostname(virConnectPtr conn ATTRIBUTE_UNUSED)
|
bhyveConnectGetHostname(virConnectPtr conn)
|
||||||
{
|
{
|
||||||
if (virConnectGetHostnameEnsureACL(conn) < 0)
|
if (virConnectGetHostnameEnsureACL(conn) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -265,7 +265,7 @@ bhyveConnectGetSysinfo(virConnectPtr conn, unsigned int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bhyveConnectGetVersion(virConnectPtr conn ATTRIBUTE_UNUSED, unsigned long *version)
|
bhyveConnectGetVersion(virConnectPtr conn, unsigned long *version)
|
||||||
{
|
{
|
||||||
struct utsname ver;
|
struct utsname ver;
|
||||||
|
|
||||||
@ -1143,7 +1143,7 @@ bhyveStateCleanup(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bhyveStateInitialize(bool priveleged ATTRIBUTE_UNUSED,
|
bhyveStateInitialize(bool priveleged,
|
||||||
virStateInhibitCallback callback ATTRIBUTE_UNUSED,
|
virStateInhibitCallback callback ATTRIBUTE_UNUSED,
|
||||||
void *opaque ATTRIBUTE_UNUSED)
|
void *opaque ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
@ -1249,7 +1249,7 @@ bhyveStateAutoStart(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bhyveConnectGetMaxVcpus(virConnectPtr conn ATTRIBUTE_UNUSED,
|
bhyveConnectGetMaxVcpus(virConnectPtr conn,
|
||||||
const char *type)
|
const char *type)
|
||||||
{
|
{
|
||||||
if (virConnectGetMaxVcpusEnsureACL(conn) < 0)
|
if (virConnectGetMaxVcpusEnsureACL(conn) < 0)
|
||||||
@ -1317,7 +1317,7 @@ bhyveNodeSetMemoryParameters(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
bhyveConnectBaselineCPU(virConnectPtr conn ATTRIBUTE_UNUSED,
|
bhyveConnectBaselineCPU(virConnectPtr conn,
|
||||||
const char **xmlCPUs,
|
const char **xmlCPUs,
|
||||||
unsigned int ncpus,
|
unsigned int ncpus,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
|
@ -251,7 +251,7 @@ virBhyveProcessStart(virConnectPtr conn,
|
|||||||
int
|
int
|
||||||
virBhyveProcessStop(bhyveConnPtr driver,
|
virBhyveProcessStop(bhyveConnPtr driver,
|
||||||
virDomainObjPtr vm,
|
virDomainObjPtr vm,
|
||||||
virDomainShutoffReason reason ATTRIBUTE_UNUSED)
|
virDomainShutoffReason reason)
|
||||||
{
|
{
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
virCommandPtr cmd = NULL;
|
virCommandPtr cmd = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user