mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu_command: fix block indentation
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
583b7aa7d9
commit
62df8ce07f
@ -3989,13 +3989,13 @@ char *qemuBuildFSStr(virDomainFSDefPtr fs,
|
||||
}
|
||||
|
||||
if (fs->wrpolicy) {
|
||||
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_WRITEOUT)) {
|
||||
virBufferAsprintf(&opt, ",writeout=%s", wrpolicy);
|
||||
} else {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("filesystem writeout not supported"));
|
||||
goto error;
|
||||
}
|
||||
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_WRITEOUT)) {
|
||||
virBufferAsprintf(&opt, ",writeout=%s", wrpolicy);
|
||||
} else {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("filesystem writeout not supported"));
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
virBufferAsprintf(&opt, ",id=%s%s", QEMU_FSDEV_HOST_PREFIX, fs->info.alias);
|
||||
|
Loading…
Reference in New Issue
Block a user