From: Boris Derzhavets Subject: Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure Date: Wed, 18 Mar 2009 11:45:32 -0700 (PDT) Message-ID: <858191.85889.qm@web56105.mail.re3.yahoo.com> References: <18881.8876.14495.776912@mariner.uk.xensource.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1351659410==" Return-path: In-Reply-To: <18881.8876.14495.776912@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============1351659410== Content-Type: multipart/alternative; boundary="0-1570219255-1237401932=:85889" --0-1570219255-1237401932=:85889 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Do you expect stub domains to be tested after the most recent patches appli= ed=A0 ? Boris --- On Wed, 3/18/09, Ian Jackson wrote: From: Ian Jackson Subject: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather th= an configure To: xen-devel@lists.xensource.com 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 diff -r d035b66b5b4d stubdom/Makefile --- a/stubdom/Makefile=09Mon Mar 09 15:01:34 2009 +0000 +++ b/stubdom/Makefile=09Wed Mar 18 15:48:18 2009 +0000 @@ -6,8 +6,6 @@ export stubdom=3Dy export stubdom=3Dy export debug=3Dy include $(XEN_ROOT)/Config.mk - -IOEMU_OPTIONS=3D--disable-sdl --disable-opengl --disable-vnc-tls --disable-brlapi --disable-kqemu =20 #ZLIB_URL?=3Dhttp://www.zlib.net ZLIB_URL=3D$(XEN_EXTFILES_URL) @@ -237,8 +235,12 @@ ioemu: cross-zlib cross-libpci libxc =09[ -f ioemu/config-host.mak ] || \ =09 ( $(absolutify_xen_root); \ =09 cd ioemu ; \ - CONFIG_STUBDOM=3Dyes XEN_TARGET_ARCH=3D$(XEN_TARGET_ARCH) CFLAGS=3D"$(TARGET_CFLAGS)" sh ./xen-setup --cc=3D$(CC) --disable-gcc-check $(IOEMU_OPTIONS)) -=09CPPFLAGS=3D TARGET_CPPFLAGS=3D"$(TARGET_CPPFLAGS)" $(MAKE) -C ioemu LWIPDIR=3D$(CURDIR)/lwip-$(XEN_TARGET_ARCH) TOOLS=3D CONFIG_STUBDOM=3Dyes +=09 LWIPDIR=3D$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \ +=09 TARGET_CPPFLAGS=3D"$(TARGET_CPPFLAGS)" \ +=09 TARGET_CFLAGS=3D"$(TARGET_CFLAGS)" \ +=09 TARGET_LDFLAGS=3D"$(TARGET_LDFLAGS)" \ +=09 ./xen-setup-stubdom ) +=09$(MAKE) -C ioemu=20 =20 ###### # caml _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1570219255-1237401932=:85889 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Do you expect stub domains to be tested after= the most recent patches applied  ?

Boris

--- On Wed,= 3/18/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com&= gt;
Subject: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom ra= ther than configure
To: xen-devel@lists.xensource.com
Date: Wednesday= , March 18, 2009, 12:34 PM

xen-setup runs the upstream configur=
e script, and ends up
autodetecting various properties of the host and t= hen trying to use
them in stubdom, which works badly.

In commit c= 609854fe18aab3216f28e1e5291b75970d398d5 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.
<= br>Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>

diff= -r d035b66b5b4d stubdom/Makefile
--- a/stubdom/Makefile=09Mon Mar 09 15= :01:34 2009 +0000
+++ b/stubdom/Makefile=09Wed Mar 18 15:48:18 2009 +000= 0
@@ -6,8 +6,6 @@ export stubdom=3Dy
export stubdom=3Dy
export d= ebug=3Dy
include $(XEN_ROOT)/Config.mk
-
-IOEMU_OPTIONS=3D--disab= le-sdl --disable-opengl --disable-vnc-tls
--disable-brlapi --disable-kqe= mu

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

######=
# caml

_______________________________________________
Xen-d= evel mailing list
Xen-devel@lists.xensource.com
http://lists.xensourc= e.com/xen-devel

=0A=0A --0-1570219255-1237401932=:85889-- --===============1351659410== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1351659410==--