aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/domain_builder/mynewdom5
-rw-r--r--xen/arch/i386/Rules.mk1
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/domain_builder/mynewdom b/tools/domain_builder/mynewdom
index fd5d8763f6..843e603fa9 100755
--- a/tools/domain_builder/mynewdom
+++ b/tools/domain_builder/mynewdom
@@ -21,7 +21,10 @@ LO=`echo $ADDR | sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\.\([0-9]\+\)/\1/'`
HI=`echo $ADDR | sed -e 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/'`
NEWADDR=$HI.$[LO+DOM]
-echo New IP address : ${NEWADDR}
+NEWNAME=$NEWADDR
+LOOKUP=`host $NEWADDR`
+echo $LOOKUP | grep 'domain name pointer' && NEWNAME=`echo $LOOKUP | sed -e 's!.*domain name pointer \([^ ]\+\).$!\1!'`
+echo New IP address : ${NEWADDR} name : ${NEWNAME}
CMDLINE=`cat /proc/cmdline`
case $CMDLINE in
diff --git a/xen/arch/i386/Rules.mk b/xen/arch/i386/Rules.mk
index 8a672e228a..e137a1abd3 100644
--- a/xen/arch/i386/Rules.mk
+++ b/xen/arch/i386/Rules.mk
@@ -9,6 +9,7 @@ MONITOR_BASE := 0xFC500000
LOAD_BASE := 0x00100000
CFLAGS := -nostdinc -fno-builtin -O3 -Wall -DMONITOR_BASE=$(MONITOR_BASE)
CFLAGS += -fomit-frame-pointer -I$(BASEDIR)/include -D__KERNEL__ -DNDEBUG
+#CFLAGS += -fomit-frame-pointer -I$(BASEDIR)/include -D__KERNEL__
LDFLAGS := -T xeno.lds -N