* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-18 16:34 [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure Ian Jackson
@ 2009-03-18 18:45 ` Boris Derzhavets
2009-03-19 6:18 ` Boris Derzhavets
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Boris Derzhavets @ 2009-03-18 18:45 UTC (permalink / raw)
To: xen-devel, Ian Jackson
[-- Attachment #1.1: Type: text/plain, Size: 2093 bytes --]
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>
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) \
+ 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
[-- Attachment #1.2: Type: text/html, Size: 2487 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-18 16:34 [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure Ian Jackson
2009-03-18 18:45 ` Boris Derzhavets
@ 2009-03-19 6:18 ` Boris Derzhavets
2009-03-23 15:34 ` Boris Derzhavets
[not found] ` <Pine.GSO.4.60.0903182105250.7169@cascade.cs.ubc.ca>
3 siblings, 0 replies; 10+ messages in thread
From: Boris Derzhavets @ 2009-03-19 6:18 UTC (permalink / raw)
To: xen-devel, Ian Jackson
[-- Attachment #1.1: Type: text/plain, Size: 2242 bytes --]
It's not there:-
root@ServerXen331:/usr/src/xen-unstable.hg/tools/ioemu-remote# git pull
Already up-to-date.
root@ServerXen331:/usr/src/xen-unstable.hg/tools/ioemu-remote# git log|grep c609854fe18aab3216f28e1e5291b75970d398d5
root@ServerXen331:/usr/src/xen-unstable.hg/tools/ioemu-remote#
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) \
+ 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
[-- Attachment #1.2: Type: text/html, Size: 2709 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-18 16:34 [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure Ian Jackson
2009-03-18 18:45 ` Boris Derzhavets
2009-03-19 6:18 ` Boris Derzhavets
@ 2009-03-23 15:34 ` Boris Derzhavets
2009-03-23 16:02 ` Stefano Stabellini
[not found] ` <Pine.GSO.4.60.0903182105250.7169@cascade.cs.ubc.ca>
3 siblings, 1 reply; 10+ messages in thread
From: Boris Derzhavets @ 2009-03-23 15:34 UTC (permalink / raw)
To: Andrew Lyon; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 2602 bytes --]
>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 <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) \
+ 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
[-- Attachment #1.2: Type: text/html, Size: 3138 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-23 15:34 ` Boris Derzhavets
@ 2009-03-23 16:02 ` Stefano Stabellini
2009-03-23 17:04 ` Boris Derzhavets
0 siblings, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2009-03-23 16:02 UTC (permalink / raw)
To: bderzhavets@yahoo.com; +Cc: Andrew Lyon, xen-devel@lists.xensource.com
Boris Derzhavets wrote:
>>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.
>
Try now, the build process should complete successfully.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-23 16:02 ` Stefano Stabellini
@ 2009-03-23 17:04 ` Boris Derzhavets
2009-03-23 17:02 ` Stefano Stabellini
0 siblings, 1 reply; 10+ messages in thread
From: Boris Derzhavets @ 2009-03-23 17:04 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: Andrew Lyon, xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 1591 bytes --]
Yes , now i can :-
# cd /usr/src/xen-unstable.hg/stubdom
# make
# make install
Started fs-backend ant tried to start stub domain.
No luck . Nothing listen at localhost:5900
Boris
--- On Mon, 3/23/09, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>
Cc: "Andrew Lyon" <andrew.lyon@gmail.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Date: Monday, March 23, 2009, 12:02 PM
Boris Derzhavets wrote:
>>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.
>
Try now, the build process should complete successfully.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 2056 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-23 17:04 ` Boris Derzhavets
@ 2009-03-23 17:02 ` Stefano Stabellini
2009-03-23 17:52 ` Boris Derzhavets
0 siblings, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2009-03-23 17:02 UTC (permalink / raw)
To: bderzhavets@yahoo.com; +Cc: Andrew Lyon, xen-devel@lists.xensource.com
Boris Derzhavets wrote:
> Yes , now i can :-
>
> # cd /usr/src/xen-unstable.hg/stubdom
> # make
> # make install
>
> Started fs-backend ant tried to start stub domain.
> No luck . Nothing listen at localhost:5900
> Boris
I am aware there are still issues with stubdom, you should be able to
see some patches in the next few days.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
2009-03-23 17:02 ` Stefano Stabellini
@ 2009-03-23 17:52 ` Boris Derzhavets
2009-03-23 17:51 ` Stefano Stabellini
0 siblings, 1 reply; 10+ messages in thread
From: Boris Derzhavets @ 2009-03-23 17:52 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: Andrew Lyon, xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 999 bytes --]
As far as i understand it supposed to come via git to ioemu-remote.
Right ?
Boris
--- On Mon, 3/23/09, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>
Cc: "Andrew Lyon" <andrew.lyon@gmail.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Date: Monday, March 23, 2009, 1:02 PM
Boris Derzhavets wrote:
> Yes , now i can :-
>
> # cd /usr/src/xen-unstable.hg/stubdom
> # make
> # make install
>
> Started fs-backend ant tried to start stub domain.
> No luck . Nothing listen at localhost:5900
> Boris
I am aware there are still issues with stubdom, you should be able to
see some patches in the next few days.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 1401 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <Pine.GSO.4.60.0903182105250.7169@cascade.cs.ubc.ca>]
* Re: [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure
[not found] ` <Pine.GSO.4.60.0903182105250.7169@cascade.cs.ubc.ca>
@ 2009-03-23 16:15 ` Ian Jackson
0 siblings, 0 replies; 10+ messages in thread
From: Ian Jackson @ 2009-03-23 16:15 UTC (permalink / raw)
To: Dutch Meyer; +Cc: xen-devel@lists.xensource.com
Dutch Meyer writes ("Re: [Xen-devel] [PATCH] ioemu-stubdom: Use xen-setup-stubdom rather than configure"):
> Did the associated ioemu change get pushed? I'm not terribly familiar
> with git, but it looks to me like the last change to ioemu was last
> monday.
No, it didn't. Apparently the xen-unstable change was pushed
manually. The qemu-xen-unstable change was languishing in staging and
I have pushed it by hand now.
I think in future we (and I include myself!) should try much harder to
avoid cross-version breakage of this kind. In this case I should have
made sure that the new script was available and working in
qemu-xen-unstable before submitting the change to xen-unstable.
My apologies.
Ian.
^ permalink raw reply [flat|nested] 10+ messages in thread