[PATCH 09/35] qemu: Move 'bootindex' handling for disks out of command line formatter

Ján Tomko jtomko at jtomko.net
Mon May 24 11:35:25 UTC 2021


On a Friday in 2021, Peter Krempa wrote:
>The logic assigning the bootindices from the legacy boot orded

s/orded/order/

>configuration was spread through the command line formatters for the
>disk device and for the floppy controller.
>
>This patch adds 'effectiveBootindex' property to the disk private data
>which holds the calculated boot index and moves the logic of determining
>the boot index into 'qemuProcessPrepareDomainDiskBootorder' called from
>'qemuProcessPrepareDomainStorage'.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 63 +++++++--------------------------------
> src/qemu/qemu_domain.h  |  4 +++
> src/qemu/qemu_process.c | 66 +++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 80 insertions(+), 53 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210524/ad46547d/attachment-0001.sig>


More information about the libvir-list mailing list