debuggers.hg

view config/x86_64.mk @ 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 0faf620bc749
children
line source
1 CONFIG_X86 := y
2 CONFIG_X86_64 := y
3 CONFIG_X86_$(XEN_OS) := y
5 CONFIG_COMPAT := y
6 CONFIG_HVM := y
7 CONFIG_MIGRATE := y
8 CONFIG_XCUTILS := y
9 CONFIG_IOEMU := y
11 CFLAGS += -m64
13 LIBLEAFDIR = $(LIBLEAFDIR_x86_64)
14 LIBDIR = $(LIBDIR_x86_64)
16 SunOS_LIBDIR = $(SunOS_LIBDIR_x86_64)
18 # Use only if calling $(LD) directly.
19 ifeq ($(XEN_OS),OpenBSD)
20 LDFLAGS_DIRECT += -melf_x86_64_obsd
21 else
22 LDFLAGS_DIRECT += -melf_x86_64
23 endif