]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce per-device boot element
authorJiri Denemark <jdenemar@redhat.com>
Wed, 12 Jan 2011 14:19:34 +0000 (15:19 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 17 Jan 2011 16:08:13 +0000 (17:08 +0100)
commit94234fa2f84e496344a81b9f8a3d5089149efc6a
treeeb714fd3be519fd0fdf60e2fd8c849590c0501c8
parentf5456ffd9d7e7b8daadd12b6e9ab03e631d1ea92
Introduce per-device boot element

Currently, boot order can be specified per device class but there is no
way to specify exact disk/NIC device to boot from.

This patch adds <boot order='N'/> element which can be used inside
<disk/> and <interface/>. This is incompatible with the older os/boot
element. Since not all hypervisors support per-device boot
specification, new deviceboot flag is included in capabilities XML for
hypervisors which understand the new boot element. Presence of the flag
allows (but doesn't require) users to use the new style boot order
specification.
docs/formatcaps.html.in
docs/formatdomain.html.in
docs/schemas/domain.rng
src/conf/capabilities.c
src/conf/domain_conf.c
src/conf/domain_conf.h