mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: Fix indentation in qemuBuildControllerDevStr()
Add braces around the multi-line body as well, in compliance with our coding style. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
12bc2b817f
commit
554a5edcb4
@ -2743,9 +2743,10 @@ qemuBuildControllerDevStr(const virDomainDef *domainDef,
|
||||
virBufferAsprintf(&buf, "%s,bus_nr=%d,id=%s",
|
||||
modelName, pciopts->busNr,
|
||||
def->info.alias);
|
||||
if (pciopts->numaNode != -1)
|
||||
if (pciopts->numaNode != -1) {
|
||||
virBufferAsprintf(&buf, ",numa_node=%d",
|
||||
pciopts->numaNode);
|
||||
}
|
||||
break;
|
||||
case VIR_DOMAIN_CONTROLLER_MODEL_DMI_TO_PCI_BRIDGE:
|
||||
case VIR_DOMAIN_CONTROLLER_MODEL_PCIE_SWITCH_UPSTREAM_PORT:
|
||||
|
Loading…
Reference in New Issue
Block a user