qemuDomain(Disk)ControllerIsBusy: Fix function header format

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2020-11-13 13:53:57 +01:00
parent 9ce41c8896
commit a6d5a5712f

View File

@ -5312,8 +5312,9 @@ qemuDomainDetachPrepDisk(virDomainObjPtr vm,
}
static bool qemuDomainDiskControllerIsBusy(virDomainObjPtr vm,
virDomainControllerDefPtr detach)
static bool
qemuDomainDiskControllerIsBusy(virDomainObjPtr vm,
virDomainControllerDefPtr detach)
{
size_t i;
virDomainDiskDefPtr disk;
@ -5352,8 +5353,10 @@ static bool qemuDomainDiskControllerIsBusy(virDomainObjPtr vm,
return false;
}
static bool qemuDomainControllerIsBusy(virDomainObjPtr vm,
virDomainControllerDefPtr detach)
static bool
qemuDomainControllerIsBusy(virDomainObjPtr vm,
virDomainControllerDefPtr detach)
{
switch (detach->type) {
case VIR_DOMAIN_CONTROLLER_TYPE_IDE:
@ -5372,6 +5375,7 @@ static bool qemuDomainControllerIsBusy(virDomainObjPtr vm,
}
}
static int
qemuDomainDetachPrepController(virDomainObjPtr vm,
virDomainControllerDefPtr match,