mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
parallels: fix formatting errors in parallels driver
This patch fixes several formatting errors, which I missed before pushing previous patches. Mostly because of missing cppi package.
This commit is contained in:
parent
67913bc6dc
commit
ad658a6015
@ -501,9 +501,9 @@ prlsdkGetDiskInfo(PRL_HANDLE prldisk,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
/* Let physical devices added to CT look like SATA disks */
|
/* Let physical devices added to CT look like SATA disks */
|
||||||
if (isCt)
|
if (isCt) {
|
||||||
ifType = PMS_SATA_DEVICE;
|
ifType = PMS_SATA_DEVICE;
|
||||||
else {
|
} else {
|
||||||
pret = PrlVmDev_GetIfaceType(prldisk, &ifType);
|
pret = PrlVmDev_GetIfaceType(prldisk, &ifType);
|
||||||
prlsdkCheckRetGoto(pret, cleanup);
|
prlsdkCheckRetGoto(pret, cleanup);
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,7 @@ virStorageVolPtr parallelsStorageVolLookupByPathLocked(virConnectPtr conn,
|
|||||||
int parallelsStorageVolDefRemove(virStoragePoolObjPtr privpool,
|
int parallelsStorageVolDefRemove(virStoragePoolObjPtr privpool,
|
||||||
virStorageVolDefPtr privvol);
|
virStorageVolDefPtr privvol);
|
||||||
|
|
||||||
#define PARALLELS_BLOCK_STATS_FOREACH(OP) \
|
# define PARALLELS_BLOCK_STATS_FOREACH(OP) \
|
||||||
OP(rd_req, VIR_DOMAIN_BLOCK_STATS_READ_REQ, "read_requests") \
|
OP(rd_req, VIR_DOMAIN_BLOCK_STATS_READ_REQ, "read_requests") \
|
||||||
OP(rd_bytes, VIR_DOMAIN_BLOCK_STATS_READ_BYTES, "read_total") \
|
OP(rd_bytes, VIR_DOMAIN_BLOCK_STATS_READ_BYTES, "read_total") \
|
||||||
OP(wr_req, VIR_DOMAIN_BLOCK_STATS_WRITE_REQ, "write_requests") \
|
OP(wr_req, VIR_DOMAIN_BLOCK_STATS_WRITE_REQ, "write_requests") \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user