mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
vz_network: Reformat
Honour our formatting style. Adjust indentation so it matches the rest of our code. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ed025db700
commit
a35d2ce0c0
@ -36,9 +36,9 @@
|
||||
#define VIR_FROM_THIS VIR_FROM_PARALLELS
|
||||
#define PARALLELS_ROUTED_NETWORK_UUID "eb593dd1-6846-45b0-84a0-de0729286982"
|
||||
|
||||
#define vzParseError() \
|
||||
virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
|
||||
__FUNCTION__, __LINE__, _("Can't parse prlctl output"))
|
||||
#define vzParseError() \
|
||||
virReportErrorHelper(VIR_FROM_TEST, VIR_ERR_OPERATION_FAILED, __FILE__, \
|
||||
__FUNCTION__, __LINE__, _("Can't parse prlctl output"))
|
||||
|
||||
static int vzGetBridgedNetInfo(virNetworkDefPtr def, virJSONValuePtr jobj)
|
||||
{
|
||||
@ -328,7 +328,7 @@ static int vzLoadNetworks(vzConnPtr privconn)
|
||||
|
||||
virDrvOpenStatus
|
||||
vzNetworkOpen(virConnectPtr conn,
|
||||
unsigned int flags)
|
||||
unsigned int flags)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
|
||||
@ -373,8 +373,8 @@ static int vzConnectNumOfNetworks(virConnectPtr conn)
|
||||
}
|
||||
|
||||
static int vzConnectListNetworks(virConnectPtr conn,
|
||||
char **const names,
|
||||
int nnames)
|
||||
char **const names,
|
||||
int nnames)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
int got;
|
||||
@ -395,8 +395,8 @@ static int vzConnectNumOfDefinedNetworks(virConnectPtr conn)
|
||||
}
|
||||
|
||||
static int vzConnectListDefinedNetworks(virConnectPtr conn,
|
||||
char **const names,
|
||||
int nnames)
|
||||
char **const names,
|
||||
int nnames)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
int got;
|
||||
@ -407,8 +407,8 @@ static int vzConnectListDefinedNetworks(virConnectPtr conn,
|
||||
}
|
||||
|
||||
static int vzConnectListAllNetworks(virConnectPtr conn,
|
||||
virNetworkPtr **nets,
|
||||
unsigned int flags)
|
||||
virNetworkPtr **nets,
|
||||
unsigned int flags)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
|
||||
@ -418,7 +418,7 @@ static int vzConnectListAllNetworks(virConnectPtr conn,
|
||||
}
|
||||
|
||||
static virNetworkPtr vzNetworkLookupByUUID(virConnectPtr conn,
|
||||
const unsigned char *uuid)
|
||||
const unsigned char *uuid)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
virNetworkObjPtr network;
|
||||
@ -439,7 +439,7 @@ static virNetworkPtr vzNetworkLookupByUUID(virConnectPtr conn,
|
||||
}
|
||||
|
||||
static virNetworkPtr vzNetworkLookupByName(virConnectPtr conn,
|
||||
const char *name)
|
||||
const char *name)
|
||||
{
|
||||
vzConnPtr privconn = conn->privateData;
|
||||
virNetworkObjPtr network;
|
||||
@ -460,7 +460,7 @@ static virNetworkPtr vzNetworkLookupByName(virConnectPtr conn,
|
||||
}
|
||||
|
||||
static char *vzNetworkGetXMLDesc(virNetworkPtr net,
|
||||
unsigned int flags)
|
||||
unsigned int flags)
|
||||
{
|
||||
vzConnPtr privconn = net->conn->privateData;
|
||||
virNetworkObjPtr network;
|
||||
|
Loading…
x
Reference in New Issue
Block a user