view 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 <>
Acked-by: Ian Jackson <>
Signed-off-by: Ian Jackson <>
Committed-by: Ian Jackson <>
author Kamala Narasimhan <>
date Tue Jan 25 18:09:49 2011 +0000 (2011-01-25)
parents 75e63b73075a
line source
1 /*
2 * symbols-dummy.c: dummy symbol-table definitions for the inital partial
3 * link of the hypervisor image.
4 */
6 #include <xen/config.h>
7 #include <xen/types.h>
10 const unsigned int symbols_offsets[1];
11 #else
12 const unsigned long symbols_addresses[1];
13 #endif
14 const unsigned int symbols_num_syms;
15 const u8 symbols_names[1];
17 const u8 symbols_token_table[1];
18 const u16 symbols_token_index[1];
20 const unsigned int symbols_markers[1];