mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
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:
parent
9ce41c8896
commit
a6d5a5712f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user