mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: fix indentation off-by-1
Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a9fe9569ab
commit
49ba650965
@ -418,7 +418,7 @@ qemuBuildDeviceAddressStr(virBufferPtr buf,
|
||||
virBufferAddLit(buf, ",multifunction=off");
|
||||
virBufferAsprintf(buf, ",addr=0x%x", info->addr.pci.slot);
|
||||
if (info->addr.pci.function != 0)
|
||||
virBufferAsprintf(buf, ".0x%x", info->addr.pci.function);
|
||||
virBufferAsprintf(buf, ".0x%x", info->addr.pci.function);
|
||||
} else if (info->type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_USB) {
|
||||
if (!(contAlias = virDomainControllerAliasFind(domainDef,
|
||||
VIR_DOMAIN_CONTROLLER_TYPE_USB,
|
||||
|
Loading…
x
Reference in New Issue
Block a user