Dom0
- Xen 3.3
- Linux xen 2.6.18-xen-r12 x86_64 Dual-Core AMD
- SunOS opensolaris-01 5.11 snv_101b i86pc i386 i86pc Solaris
# -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
memory = "512"
shadow = "2"
name = "opensolaris-01"
vif = ['type=ioemu, bridge=xenbr0']
dhcp = "dhcp"
vcpu="2"
disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]
boot='d'
usb=0 # No USB support
sdl = 0
vnc = 1
vncpasswd='password'
vnclisten='192.168.1.10' # Replace this with the IP address of Dom0
serial='pty'
stdvga=0
on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
cfg file used for normal running
# -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
memory = "512"
shadow = "8"
name = "opensolaris-01"
vif = ['type=ioemu, bridge=xenbr0']
dhcp = "dhcp"
vcpu="2"
disk = [ 'phy:xenvg/open-sol-01,hda,w','file:/xen/iso/osol-0811.iso,hdc:cdrom,r' ]
boot='c'
usb=0 # No USB support
sdl = 0
vnc = 1
vncpasswd='password'
vnclisten='192.168.1.10'
serial='pty'
stdvga=0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
No comments:
Post a Comment