WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 18 Mar 2009 11:45:32 -0700 (PDT)
Cc:
Delivery-date: Wed, 18 Mar 2009 11:46:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1237401932; bh=mm2yikeRprwlba/HOxCrbiCYwd4jeNStdnFwvta7o1E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1qktQMXLUuBh3rgLpYEdvKVeqpjAApMM8qSxwqCMTPHT+4ByBKzHRgWvCrtEFluDer/zyXUbowtFOIHGYoI3+ggFYHfRHYasF3dDFWxOOqO45lQSTUR6qeC8F2RvcnYQtqc54q52JcjWnPuhdOHsuSYt73t3gaDWxsKPZPthdBI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ImIFAYL0fGV1xBFoRBCfrnNHteFmaLlUxZ1kZxxFcvg+miHhEGd/VBB9Jm8x6ks/BgFChHhm6R+ePmv1U6ovuid0Dv/vWF6NGS5FJ+n6FdqySDWsNBOVxLl93+9ziJXBhIzr9K1WtTWeF1C0DYolcDn56v2R6KFfOIPknhw01XY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18881.8876.14495.776912@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Do you expect stub domains to be tested after the most recent patches applied  ?

Boris

--- On Wed, 3/18/09, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, March 18, 2009, 12:34 PM

xen-setup runs the upstream configure script, and ends up
autodetecting various properties of the host and then trying to use
them in stubdom, which works badly.

In commit c609854fe18aab3216f28e1e5291b75970d398d5 in
qemu-xen-unstable we provide a new `xen-setup-stubdom' script, which
hardcodes the relevant answers.

With these two changes, stubdom should compile again.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

diff -r d035b66b5b4d stubdom/Makefile
--- a/stubdom/Makefile Mon Mar 09 15:01:34 2009 +0000
+++ b/stubdom/Makefile Wed Mar 18 15:48:18 2009 +0000
@@ -6,8 +6,6 @@ export stubdom=y
export stubdom=y
export debug=y
include $(XEN_ROOT)/Config.mk
-
-IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-vnc-tls
--disable-brlapi --disable-kqemu

#ZLIB_URL?=http://www.zlib.net
ZLIB_URL=$(XEN_EXTFILES_URL)
@@ -237,8 +235,12 @@ ioemu: cross-zlib cross-libpci libxc
[ -f ioemu/config-host.mak ] || \
( $(absolutify_xen_root); \
cd ioemu ; \
- CONFIG_STUBDOM=yes XEN_TARGET_ARCH=$(XEN_TARGET_ARCH)
CFLAGS="$(TARGET_CFLAGS)" sh ./xen-setup --cc=$(CC)
--disable-gcc-check $(IOEMU_OPTIONS))
- CPPFLAGS= TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C ioemu
LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) TOOLS= CONFIG_STUBDOM=yes
+ LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
+ TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
+ TARGET_CFLAGS="$(TARGET_CFLAGS)" \
+ TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
+ ./xen-setup-stubdom )
+ $(MAKE) -C ioemu

######
# caml

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel