diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 08:44:33 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 08:44:33 +0000 |
commit | b1fc842a272f865e86a78f104b9ed59b29952f46 (patch) | |
tree | 7c59d5e484b1e827f70cfb6ce6dc34a71e916ab9 /stubdom/grub/kexec.c | |
parent | ef9550e2e2f3d682155f9c236c94c254f3369686 (diff) | |
download | xen-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/kexec.c')
-rw-r--r-- | stubdom/grub/kexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stubdom/grub/kexec.c b/stubdom/grub/kexec.c index 5400fe88cd..5b86c502dc 100644 --- a/stubdom/grub/kexec.c +++ b/stubdom/grub/kexec.c @@ -103,7 +103,7 @@ int kexec_allocate(struct xc_dom_image *dom, xen_vaddr_t up_to) return 0; } -void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline) +void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline, unsigned long flags) { struct xc_dom_image *dom; int rc; @@ -129,7 +129,7 @@ void kexec(void *kernel, long kernel_size, void *module, long module_size, char dom->ramdisk_blob = module; dom->ramdisk_size = module_size; - dom->flags = 0; + dom->flags = flags; dom->console_evtchn = start_info.console.domU.evtchn; dom->xenstore_evtchn = start_info.store_evtchn; |