From 4f20dedfd46a0fbd1cdf11d54aba01e4da20435d Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Fri, 3 Feb 2012 13:33:36 +0100 Subject: [PATCH] docs: Enhance documentation of the old-style boot configuration Also encourages people to use per-device boot elements for better control. --- docs/formatdomain.html.in | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 284e780e2f..29497a059e 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -131,12 +131,24 @@
The dev attribute takes one of the values "fd", "hd", "cdrom" or "network" and is used to specify the next boot device to consider. The boot element can be repeated multiple - times to setup a priority list of boot devices to try in turn. The - boot element cannot be used if per-device boot elements - are used (see disks, + times to setup a priority list of boot devices to try in turn. + Multiple devices of the same type are sorted according to their + targets while preserving the order of buses. After defining the + domain, its XML configuration returned by libvirt (through + virDomainGetXMLDesc) lists devices in the sorted order. Once sorted, + the first device is marked as bootable. Thus, e.g., a domain + configured to boot from "hd" with vdb, hda, vda, and hdc disks + assigned to it will boot from vda (the sorted list is vda, vdb, hda, + hdc). Similar domain with hdc, vda, vdb, and hda disks will boot from + hda (sorted disks are: hda, hdc, vda, vdb). It can be tricky to + configure in the desired way, which is why per-device boot elements + (see disks, network interfaces, and - USB and PCI devices sections below). - Since 0.1.3, per-device boot since 0.8.8 + USB and PCI devices sections below) were + introduced and they are the preferred way providing full control over + booting order. The boot element and per-device boot + elements are mutually exclusive. Since 0.1.3, + per-device boot since 0.8.8
bootmenu
Whether or not to enable an interactive boot menu prompt on guest -- 2.47.2