direct-io.hg

view tools/domain_builder/newdom @ 204:0e45b167992d

bitkeeper revision 1.65 (3e536858YdNPGFSv3J35Fl8zAGLJjQ)

sched.h, xen_block.c, domain.c:
Now have per-domain IO completion queue.
author kaf24@labyrinth.cl.cam.ac.uk
date Wed Feb 19 11:19:52 2003 +0000 (2003-02-19)
parents 9713c0d10ee7
children 15edce7a072a 7f19fcd72411
line source
1 #!/bin/sh
3 VIFINIT=./vifinit
4 DOM_BUILDER=./domain_builder
6 DOM=$2
8 ADDR=`/sbin/ifconfig eth0 | grep inet.addr | sed -e 's/.*inet addr:\([0-9.]*\) .*/\1/'`
10 LO=`echo $ADDR | sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\.\([0-9]\+\)/\1/'`
11 HI=`echo $ADDR | sed -e 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/'`
13 NEWADDR=$HI.$[LO+DOM]
15 $VIFINIT $DOM $NEWADDR
17 $DOM_BUILDER 16000 $1 1