Stubdom build fix
Hi all
Songtao Liu reported some issues with stubdom.
This patch series tights up those loose ends that caused the problem he saw [0].
I've tested this series myself, but it would be good if Songtao can also give it a try and confirm it fixes those issues.
Note that the patch marked with mini-os should be applied to mini-os tree, while the patch marked with stubdom should be applied to Xen tree.
Wei.
[0] <582FB90AB890394081254B69739046FC0EBAC293@SHSMSX101.ccr.corp.intel.com>
PATCH 1/1 mini-os: replace XEN_TARGET_ARCH with MINIOS_TARGET_ARCH
One place was missed when I did the replacement in 55f7cd7427 ("Mini-OS:
standalone build").
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -165,7 +165,7 @@ OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS)) ifeq ($(libc),y) ifeq ($(CONFIG_XC),y) -APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(XEN_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive +APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(MINIOS_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive endif APP_LDLIBS += -lpci APP_LDLIBS += -lz
Signature · 1 line
1.9.1
PATCH 1/1 stubdom: export XEN_ROOT in makefile
... because XEN_ROOT is used in mini-os's Config.mk.
--- stubdom/Makefile | 1 + 1 file changed, 1 insertion(+)
stubdom/Makefile +1 -0
@@ -1,6 +1,7 @@ XEN_ROOT = $(CURDIR)/.. MINI_OS = $(XEN_ROOT)/extras/mini-os +export XEN_ROOT export XEN_OS=MiniOS export stubdom=y
Signature · 1 line
1.9.1
Re: [PATCH] stubdom: export XEN_ROOT in makefile
Quoted 3 lines · Wei Liu, le Tue 10 Mar 2015 13:14:39 +0000, a écrit :
... because
XEN_ROOTis used in mini-os's Config.mk.Signed-off-by Wei Liu <[email protected]>
Quoted 19 lines
--- stubdom/Makefile | 1 + 1 file changed, 1 insertion(+)stubdom/Makefile +1
-0@@ -1,6 +1,7 @@ XEN_ROOT = $(CURDIR)/.. MINI_OS = $(XEN_ROOT)/extras/mini-os +export XEN_ROOT export XEN_OS=MiniOS export stubdom=ySignature · 1 line
1.9.1
Signature · 7 lines
Samuel
/*
* Oops. The kernel tried to access some bad page. We'll have to
* terminate things with extreme prejudice.
*/
die_if_kernel("Oops", regs, error_code);
(From linux/arch/i386/mm/fault.c) Re: [PATCH] stubdom: export XEN_ROOT in makefile
Quoted 6 lines · Samuel Thibault
Quoted 3 lines · Wei Liu, le Tue 10 Mar 2015 13:14:39 +0000, a écrit :
... because
XEN_ROOTis used in mini-os's Config.mk.Signed-off-by Wei Liu <[email protected]>Acked-by Samuel Thibault <[email protected]>
acked + applied, thanks,
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: [PATCH] mini-os: replace XEN_TARGET_ARCH with MINIOS_TARGET_ARCH
In reply to Wei LiuQuoted 4 lines · Wei Liu, le Tue 10 Mar 2015 13:14:38 +0000, a écrit :
One place was missed when I did the replacement in
55f7cd7427("Mini-OS:
standalone build").Signed-off-by Wei Liu <[email protected]>
Quoted 20 lines
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-1@@ -165,7 +165,7 @@ OBJS := $(filter-out $(OBJ_DIR)/lwip%.o $(LWO), $(OBJS)) ifeq ($(libc),y) ifeq ($(CONFIG_XC),y) -APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(XEN_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive +APP_LDLIBS += -L$(XEN_ROOT)/stubdom/libxc-$(MINIOS_TARGET_ARCH) -whole-archive -lxenguest -lxenctrl -no-whole-archive endif APP_LDLIBS += -lpci APP_LDLIBS += -lzSignature · 1 line
1.9.1
Signature · 5 lines
Samuel Profitant de cette occasion, vous serait-il possible de rebooter aussi Modérator et son petit copain qui gère les ressources de download ? -+- OB in NPC : Apprendre à flasher son personnel -+-
Ian Campbell
AppliedRe: [PATCH] mini-os: replace XEN_TARGET_ARCH with MINIOS_TARGET_ARCH
Quoted 7 lines · Samuel Thibault
Quoted 4 lines · Wei Liu, le Tue 10 Mar 2015 13:14:38 +0000, a écrit :
One place was missed when I did the replacement in
55f7cd7427("Mini-OS:
standalone build").Signed-off-by Wei Liu <[email protected]>Acked-by Samuel Thibault <[email protected]>
Applied, along with the following to xen.git (also picks up "mini-os:
sort objects in binary archives" from Olaf).
commit 00f1fc5fd2bb9c7cf7f0e8a841ee741e547a4145
Author: Ian Campbell <[email protected]> Date: Wed Mar 11 10:47:33 2015 +0000
MINIOS_UPSTREAM_REVISION Update
Config.mk +3 -3
@@ -255,9 +255,9 @@ MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git endif OVMF_UPSTREAM_REVISION ?= a065efc7c7ce8bb3e5cb3e463099d023d4a92927 QEMU_UPSTREAM_REVISION ?= master -MINIOS_UPSTREAM_REVISION ?= 55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d -# Thu Jan 29 19:10:04 2015 +0000 -# Mini-OS: standalone build +MINIOS_UPSTREAM_REVISION ?= d0b7f0f62fd0e1154d29849b9f2e6de3783742ce +# Tue Mar 10 13:14:38 2015 +0000 +# mini-os: replace XEN_TARGET_ARCH with MINIOS_TARGET_ARCH SEABIOS_UPSTREAM_REVISION ?= rel-1.8.0 # Wed Feb 18 12:49:59 2015 -0500
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel