]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Do not add drive 'boot=on' param when a kernel is specified
authorJim Fehlig <jfehlig@novell.com>
Thu, 17 Feb 2011 21:22:55 +0000 (14:22 -0700)
committerJim Fehlig <jfehlig@novell.com>
Fri, 18 Feb 2011 03:32:48 +0000 (20:32 -0700)
commitefc2594b4e0cbcdd6947fafeeed41accd5b611e0
tree11b2fb758b6681372757ad771ddbd3eecb45078f
parent50daaa0a3ead744f7832d74b1e28614162dc0a14
Do not add drive 'boot=on' param when a kernel is specified

libvirt-tck was failing several domain tests [1] with qemu 0.14, which
is now less tolerable of specifying 2 bootroms with the same boot index [2].

Drop the 'boot=on' param if kernel has been specfied.

[1] https://www.redhat.com/archives/libvir-list/2011-February/msg00559.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2011-02/msg01892.html
src/qemu/qemu_command.c