OpenSSI under Xen HVM

View: New views
2 Messages — Rating Filter:   Alert me  

OpenSSI under Xen HVM

by John Hughes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anyone wanting to play with OpenSSI but doesn't want to dedicate a
machine or machines, just a little notice that it seesm to work OK under
Xen HVM (hardware virtual machine, on modern hardware that has HVM
instructions, e.g. Intel Core or recent AMD's).  To run in PVM mode the
old OpenSSI/Xen patches would need resurrection.

Example Xen config:

kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
builder = 'hvm'
memory = '256'
vcpus = 2
device_model='/usr/lib/xen-3.2-1/bin/qemu-dm'

# Disks
disk = [
        'file:/home/xen/node1.img,hda,w',
        'phy:/dev/some_vg/openssi.img,hdb,w' ]

# Hostname
name = 'node1'

# Networking, one RTL 8139+ for external network and one for
# interconnect.
# Need specialised bridge script.
vif = ['type=ioemu, bridge=eth0, mac=00:16:3E:52:c1:9B',
        'type=ioemu, bridge=eth1, mac=00:16:3E:52:d1:9B' ]

# Behaviour
boot='c'

# console
sdl=0

vnc=1
vnclisten='0.0.0.0'


Here's my /etc/xen/scripts/openssi-bridge script to set up two bridges:

#!/bin/sh
# network-xen-custom
# Exit if anything goes wrong
set -e

interfaces="calvaedi openssi"
dir=`dirname $0`
script=$dir/network-bridge

for i in ${interfaces}
do
        $script $1 netdev=$i
done





------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ssic-linux-users mailing list
Ssic-linux-users@...
https://lists.sourceforge.net/lists/listinfo/ssic-linux-users

Re: OpenSSI under Xen HVM

by John Hughes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John Hughes wrote:
> Here's my /etc/xen/scripts/openssi-bridge script to set up two bridges:
>
> #!/bin/sh
> # network-xen-custom
> # Exit if anything goes wrong
> set -e
>
> interfaces="calvaedi openssi"
>  
^ obviously should be
     interfaces="eth0 eth1"
> dir=`dirname $0`
> script=$dir/network-bridge
>
> for i in ${interfaces}
> do
> $script $1 netdev=$i
> done
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ssic-linux-users mailing list
Ssic-linux-users@...
https://lists.sourceforge.net/lists/listinfo/ssic-linux-users