debuggers.hg

view config/NetBSD.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 5d78193d67d1
children
line source
1 include $(XEN_ROOT)/config/StdGNU.mk
3 # Override settings for this OS
4 CURSES_LIBS = -lcurses
6 LIBLEAFDIR_x86_64 = lib
7 LIBEXEC = $(PREFIX)/libexec
8 PRIVATE_BINDIR = $(BINDIR)
10 DLOPEN_LIBS =
12 ifeq ($(PREFIX),/usr)
13 XEN_LOCK_DIR = /var/lib
14 else
15 XEN_LOCK_DIR = $(PREFIX)/var/lib
16 endif
18 WGET = ftp