From: Boris Derzhavets Subject: Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure Date: Mon, 23 Mar 2009 08:34:39 -0700 (PDT) Message-ID: <356859.12905.qm@web56103.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="===============2136266018==" 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: Andrew Lyon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2136266018== Content-Type: multipart/alternative; boundary="0-1404330665-1237822479=:12905" --0-1404330665-1237822479=:12905 Content-Type: text/plain; charset=us-ascii >It is not a network problem, the system completely locks up when I try >to start a stubdom, even the local keyboard and vga is not responsive. >Andy In meantime i even cannot build stubdom. Per Ian Jackson:- In commit c609854fe18aab3216f28e1e5291b75970d398d5 in qemu-xen-unstable we provide a new `xen-setup-stubdom' script, which hardcodes the relevant answers. Patch to makefile has been applied in Xen Unstable:- changeset 19389 ioemu-stubdom: Use xen-setup-stubdom rather than configure But i cannot get mentioned commit, even reinstalling Xen Unstable with fresh git download for ioemu-remote. Maybe i misunderstand message bellow. Boris --- On Wed, 3/18/09, Ian Jackson wrote: From: Ian Jackson Subject: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than 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 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@lists.xensource.com http://lists.xensource.com/xen-devel --0-1404330665-1237822479=:12905 Content-Type: text/html; charset=us-ascii
>It is not a network problem, the system completely locks up when I try
>to start a stubdom, even the local keyboard and vga is not responsive.
>Andy

In meantime i even cannot build stubdom.

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

Patch to makefile has been applied in Xen Unstable:-

changeset 19389 ioemu-stubdom: Use xen-setup-stubdom
rather than configure

But i cannot get mentioned commit, even reinstalling Xen Unstable
with fresh git download for ioemu-remote.

Maybe i misunderstand m essage bellow.

Boris



--- On Wed, 3/18/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than 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 <ian.jackson@eu.citrix.com>

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) \
+ TARG ET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
+ TARGET_CFLAGS="$(TARGET_CFLAGS)" \
+ TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
+ ./xen-setup-stubdom )
+ $(MAKE) -C ioemu

######
# caml

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

--0-1404330665-1237822479=:12905-- --===============2136266018== 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 --===============2136266018==--