debuggers.hg

annotate xen/common/symbols-dummy.c @ 22855:1d1eec7e1fb4

xl: Perform minimal validation of virtual disk file while parsing config file

This patch performs some very basic validation on the virtual disk
file passed through the config file. This validation ensures that we
don't go too far with the initialization like spawn qemu and more
while there could be some potentially fundamental issues.

[ Patch fixed up to work with PHYSTYPE_EMPTY 22808:6ec61438713a -iwj ]

Signed-off-by: Kamala Narasimhan <kamala.narasimhan@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Kamala Narasimhan <kamala.narasimhan@gmail.com>
date Tue Jan 25 18:09:49 2011 +0000 (2011-01-25)
parents 75e63b73075a
children
rev   line source
kfraser@11684 1 /*
kfraser@11684 2 * symbols-dummy.c: dummy symbol-table definitions for the inital partial
kfraser@11684 3 * link of the hypervisor image.
kfraser@11684 4 */
kfraser@11684 5
kfraser@11684 6 #include <xen/config.h>
kfraser@11684 7 #include <xen/types.h>
kfraser@11684 8
keir@19971 9 #ifdef SYMBOLS_ORIGIN
keir@19971 10 const unsigned int symbols_offsets[1];
keir@19971 11 #else
keir@19971 12 const unsigned long symbols_addresses[1];
keir@19971 13 #endif
keir@19971 14 const unsigned int symbols_num_syms;
keir@19971 15 const u8 symbols_names[1];
kfraser@11684 16
keir@19971 17 const u8 symbols_token_table[1];
keir@19971 18 const u16 symbols_token_index[1];
kfraser@11684 19
keir@19971 20 const unsigned int symbols_markers[1];