]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move bootindex usage logic into qemuBuildDiskDeviceStr
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Apr 2021 14:09:09 +0000 (16:09 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 May 2021 18:38:08 +0000 (20:38 +0200)
commit4130cc1f7bf5c005d37adc97a24652db68fffea3
tree015306f70d6e9176e0a5a27ea470a7394b6d74e3
parent2976b6aaeb7161323da7d3c9cc67fc2460426c56
qemu: Move bootindex usage logic into qemuBuildDiskDeviceStr

We can skip the formatting of the bootindex for floppies directly at the
place where it's being formatted.

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