]> xenbits.xensource.com Git - libvirt.git/commit
Make -boot arg generation more readable
authorJán Tomko <jtomko@redhat.com>
Wed, 18 Feb 2015 16:25:10 +0000 (17:25 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 2 Mar 2015 06:39:09 +0000 (07:39 +0100)
commit354425dcd23ad3558859e331e9c6fed8f611b22d
treefc051c77adac3a3a49e5956c6be1a63b69e3227b
parent92572c3d71bd08e6dd1897c7b14be9d27df608e9
Make -boot arg generation more readable

If we combine the boot order on the command line with other
boot options, we prepend order= in front of it.

Instead of checking if the number of added arguments is between
0 and 2, separate the strings for boot order and options
and prepend boot order only if both strings are not empty.
src/qemu/qemu_command.c