debuggers.hg
view xen/include/asm-x86/elf.h @ 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>
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 | 2b43fb3afb3e |
children |
line source
1 #ifndef __X86_ELF_H__
2 #define __X86_ELF_H__
4 typedef struct {
5 unsigned long cr0, cr2, cr3, cr4;
6 } crash_xen_core_t;
8 #ifdef __x86_64__
9 #include <asm/x86_64/elf.h>
10 #else
11 #include <asm/x86_32/elf.h>
12 #endif
14 #endif /* __X86_ELF_H__ */
16 /*
17 * Local variables:
18 * mode: C
19 * c-set-style: "BSD"
20 * c-basic-offset: 4
21 * tab-width: 4
22 * indent-tabs-mode: nil
23 * End:
24 */