mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
docs: remove stale stubdom entries from stubdom.txt
There are several stubdoms mentioned in docs/misc/stubdom.txt which no longer exist. Remove them. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
1 parent
6a94eaa2bf
commit
b01e4c0c36
1 file changed
-69
@@ -85,72 +85,3 @@ To change the CD-ROM medium, libxl will:
|
||||
|
||||
The stubdom must internally add /dev/xvdc to an fdset in QEMU with opaque set
|
||||
to "stub-devid:$devid". libxl will lookup the fdset with that string.
|
||||
|
||||
PV-GRUB
|
||||
=======
|
||||
|
||||
This replaces pygrub to boot domU images safely: it runs the regular grub
|
||||
inside the created domain itself and uses regular domU facilities to read the
|
||||
disk / fetch files from network etc. ; it eventually loads the PV kernel and
|
||||
chain-boots it.
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
In your PV config,
|
||||
|
||||
- use pv-grub.gz as kernel:
|
||||
|
||||
kernel = "pv-grub.gz"
|
||||
|
||||
- set the path to menu.lst, as seen from the domU, in extra:
|
||||
|
||||
extra = "(hd0,0)/boot/grub/menu.lst"
|
||||
|
||||
or you can provide the content of a menu.lst stored in dom0 by passing it as a
|
||||
ramdisk:
|
||||
|
||||
ramdisk = "/boot/domU-1-menu.lst"
|
||||
|
||||
or you can also use a tftp path (dhcp will be automatically performed):
|
||||
|
||||
extra = "(nd)/somepath/menu.lst"
|
||||
|
||||
or you can set it in option 150 of your dhcp server and leave extra and ramdisk
|
||||
empty (dhcp will be automatically performed)
|
||||
|
||||
Limitations
|
||||
===========
|
||||
|
||||
- You can not boot a 64bit kernel with a 32bit-compiled PV-GRUB and vice-versa.
|
||||
To cross-compile a 32bit PV-GRUB,
|
||||
|
||||
export XEN_TARGET_ARCH=x86_32
|
||||
|
||||
- bootsplash is supported, but the ioemu backend does not yet support restart
|
||||
for use by the booted kernel.
|
||||
|
||||
- PV-GRUB doesn't support virtualized partitions. For instance:
|
||||
|
||||
disk = [ 'phy:hda7,hda7,w' ]
|
||||
|
||||
will be seen by PV-GRUB as (hd0), not (hd0,6), since GRUB will not see any
|
||||
partition table.
|
||||
|
||||
|
||||
Your own stubdom
|
||||
================
|
||||
|
||||
By running
|
||||
|
||||
cd stubdom/
|
||||
make c-stubdom
|
||||
|
||||
or
|
||||
|
||||
cd stubdom/
|
||||
make caml-stubdom
|
||||
|
||||
you can compile examples of C or caml stub domain kernels. You can use these
|
||||
and the relevant Makefile rules as basis to build your own stub domain kernel.
|
||||
Available libraries are libc, libxc, libxs, zlib and libpci.
|
||||