[libvirt] [PATCH v2 2/4] Introduce per-device boot element

Daniel P. Berrange berrange at redhat.com
Mon Jan 17 15:55:55 UTC 2011


On Fri, Jan 14, 2011 at 06:04:44PM +0100, Jiri Denemark wrote:
> 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   |    1 +
>  docs/formatdomain.html.in |   41 ++++++++++++++++++++++++++++++++++-
>  docs/schemas/domain.rng   |   20 +++++++++++++++-
>  src/conf/capabilities.c   |    3 +-
>  src/conf/domain_conf.c    |   51 ++++++++++++++++++++++++++++++++++++++++++++-
>  src/conf/domain_conf.h    |    2 +
>  6 files changed, 112 insertions(+), 6 deletions(-)

ACK

Daniel




More information about the libvir-list mailing list