|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] libxc: create unmapped initrd in domain builder if supported
On 09/11/2015 03:15 PM, Julien Grall wrote: On 11/09/15 13:54, Ian Jackson wrote: Okay, I thought so, but I wasn't sure. - /* load ramdisk */ - if ( dom->ramdisk_blob ) + /* Load ramdisk if initial mapping required. */ + if ( dom->ramdisk_blob && + (!dom->parms.elf_notes[XEN_ELFNOTE_MOD_START_PFN].data.num || + dom->ramdisk_seg.vstart) )After this patch the resulting structure of the code is rather unfortunate, in that the order of the main processing steps depends on this ELFNOTE.Shouldn't we ought to have a common code ELF agnostic? I.e we may have other kernel image format where we have notes but not ELF notes. dom->parms is the same for all architectures. I think it would have to be extended in that case. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |