ia64/xen-unstable

view buildconfigs/src.tarball @ 19807:468561f3c8ee

Only allow DOMCTL_max_vcpus to increase vcpus from zero.

Otherwise reallocation of the vcpus array is unsafe.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jun 23 11:10:29 2009 +0100 (2009-06-23)
parents d6889b3b6423
children
line source
1 XEN_LINUX_MIRROR ?= http://www.kernel.org/pub/linux/kernel/v2.6/
2 XEN_LINUX_TARBALL ?= linux-$(LINUX_VER)-xen.tar.bz2
4 LINUX_SRCDIR ?= linux-$(LINUX_VER)
6 KETCHUP ?= python buildconfigs/ketchup
8 vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
10 # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
11 linux-%.tar.bz2:
12 @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
13 false wget $(XEN_LINUX_MIRROR)/$@ -O./$@
15 # XXX create a pristine tree for diff -Nurp convenience
17 %/.valid-src: $(__XEN_LINUX_UPDATE)
18 $(KETCHUP) -d $(@D) $(LINUX_VER)
19 touch $@ # update timestamp to avoid rebuild