Displaying 5 results from an estimated 5 matches for "xc_dom_guest_type".
2013 Apr 24
15
Bare-metal Xen on ARM boot
Hi,
I was wondering if there is any documentation on how to write a bare metal
application for Xen. I don''t need to parse the device tree and such yet, a
simple booting "Hello World" would be fine :-)
We wrote one and when trying to boot we get ( this was an uncompressed
binary, no image):
libxl: notice: libxl_numa.c:451:libxl__get_numa_candidate: NUMA placement
failed,
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...xen_pfn_t xenstore_pfn;
xen_pfn_t shared_info_pfn;
xen_pfn_t bootstack_pfn;
+ xen_pfn_t bootparams_pfn;
xen_vaddr_t virt_alloc_end;
xen_vaddr_t bsd_symtab_start;
@@ -254,6 +255,11 @@ static inline xen_pfn_t xc_dom_p2m_guest
return dom->p2m_host[pfn];
}
+char *xc_dom_guest_type(struct xc_dom_image *dom,
+ struct elf_binary *elf);
+int xc_dom_load_elf_symtab(struct xc_dom_image *dom,
+ struct elf_binary *elf, int load);
+
/* --- arch bits --------------------------------------------------- */
int arch_setup_meminit(struc...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...xen_pfn_t xenstore_pfn;
xen_pfn_t shared_info_pfn;
xen_pfn_t bootstack_pfn;
+ xen_pfn_t bootparams_pfn;
xen_vaddr_t virt_alloc_end;
xen_vaddr_t bsd_symtab_start;
@@ -254,6 +255,11 @@ static inline xen_pfn_t xc_dom_p2m_guest
return dom->p2m_host[pfn];
}
+char *xc_dom_guest_type(struct xc_dom_image *dom,
+ struct elf_binary *elf);
+int xc_dom_load_elf_symtab(struct xc_dom_image *dom,
+ struct elf_binary *elf, int load);
+
/* --- arch bits --------------------------------------------------- */
int arch_setup_meminit(struc...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...xen_pfn_t xenstore_pfn;
xen_pfn_t shared_info_pfn;
xen_pfn_t bootstack_pfn;
+ xen_pfn_t bootparams_pfn;
xen_vaddr_t virt_alloc_end;
xen_vaddr_t bsd_symtab_start;
@@ -254,6 +255,11 @@ static inline xen_pfn_t xc_dom_p2m_guest
return dom->p2m_host[pfn];
}
+char *xc_dom_guest_type(struct xc_dom_image *dom,
+ struct elf_binary *elf);
+int xc_dom_load_elf_symtab(struct xc_dom_image *dom,
+ struct elf_binary *elf, int load);
+
/* --- arch bits --------------------------------------------------- */
int arch_setup_meminit(struc...
2013 Jun 26
24
Re: [XenARM] XEN tools for ARM with Virtualization Extensions
...or 4.3 right now so I can't touch it)
FWIW I wrote up some details of how I cross compile with Debian/Ubuntu
at
http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling which includes lists of packages to install etc.
> I also found that xc_dom_elfloader.c’s function, xc_dom_guest_type(),
> did not know about the EM_ARM machine type.
You shouldn't be hitting the elf loader paths, you should instead use
the zImage version of the kernel which will hit the
xc_dom_armzimageloader.c code paths.
We did at one point in the very early days of the port support loading
ELF files v...