]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildDiskFrontendAttributeErrorPolicy: Extract logic
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Oct 2021 14:56:54 +0000 (16:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:04 +0000 (10:26 +0200)
commitd06e3000c4115abc8b9f297eb7fcba6802defb37
treee958a602817d57335f7efe9852362339b7e54ed6
parent9616976433b03d539c3fae5f2cb8542d83bf3075
qemuBuildDiskFrontendAttributeErrorPolicy: Extract logic

Extract the logic to determine the actual settings into
'qemuBuildDiskGetErrorPolicy' so that it can be reused when we'll
convert the disk -device formatter to JSON.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c