aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/grub.patches
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:44:33 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:44:33 +0000
commitb1fc842a272f865e86a78f104b9ed59b29952f46 (patch)
tree7c59d5e484b1e827f70cfb6ce6dc34a71e916ab9 /stubdom/grub.patches
parentef9550e2e2f3d682155f9c236c94c254f3369686 (diff)
downloadxen-b1fc842a272f865e86a78f104b9ed59b29952f46.tar.gz
xen-b1fc842a272f865e86a78f104b9ed59b29952f46.tar.bz2
xen-b1fc842a272f865e86a78f104b9ed59b29952f46.zip
domain builder: multiboot-like module support
This defines how multiple modules can be passed to a domain by packing them together into a "multiboot module" in a way very similar to the multiboot standard. An SIF_ flag is added to announce such package. This also adds a packing implementation to PV-GRUB. Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'stubdom/grub.patches')
-rw-r--r--stubdom/grub.patches/99minios8
1 files changed, 8 insertions, 0 deletions
diff --git a/stubdom/grub.patches/99minios b/stubdom/grub.patches/99minios
index 6c481b1774..6296ae2c5f 100644
--- a/stubdom/grub.patches/99minios
+++ b/stubdom/grub.patches/99minios
@@ -151,6 +151,14 @@ Index: grub/stage2/builtins.c
/* print */
static int
+@@ -2910,6 +2910,7 @@
+ switch (kernel_type)
+ {
+ case KERNEL_TYPE_MULTIBOOT:
++ case KERNEL_TYPE_PV:
+ if (mb_cmdline + len + 1 > (char *) MB_CMDLINE_BUF + MB_CMDLINE_BUFLEN)
+ {
+ errnum = ERR_WONT_FIT;
@@ -3776,6 +3802,7 @@
};