http://bderzhavets.wordpress.com/2008/09/27/getting-stubdom-working-on-xen-33-port-via-httpwwwgitcoderepoxen330-to-centos-52/
--- On Sat, 9/27/08, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
From: Boris Derzhavets <bderzhavets@xxxxxxxxx> Subject: [Xen-users] Getting stubdom working on Xen 3.3 port via http://www.gitco.de/repo/xen3.3.0 to CentOS 5.2 To: xen-users@xxxxxxxxxxxxxxxxxxx Date: Saturday, September 27, 2008, 9:40 AM
Created in /etc/xen files:-
[root@ServerCentOS52 xen]# cat WinXPhvm-stubdom kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 512 name = "WinXPhvm" vif = [ 'type=ioemu, bridge=eth0' ] device_model = '/usr/lib/xen/bin/stubdom-dm' boot="d" sdl=0 opengl=0 vnc=0 # vnclisten="0.0.0.0" # vncpasswd='' stdvga=0
[root@ServerCentOS52 xen]# cat WinXPhvm-dm kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz" vif = [ ' ', 'bridge=eth0'] vfb = [ 'type=sdl' ] disk = ['file:/etc/xen/isos/winxp.iso,hdc:cdrom,r','file:/etc/xen/images/disk.img,hda,w','file:/tmp/test,hdb,r']
Per Xen 3.3 Stubdom Release Notes run:- # mkdir -p /exports/usr/share/xen/qemu # ln -s /usr/share/xen/qemu/keymaps /exports/usr/share/xen/qemu # mkdir -p /exports/var/lib # ln -s /var/lib/xen
/exports/var/lib # /usr/sbin/fs-backend &
Switch from console to another terminal session :-
# xm create WinXPhvm-stubdomto CentOS 5.2
In original hvm profile both vnc and sdl are disabled. Selection is made *-dm Domain's profile. Install goes hardly alive with long outages , looks like it got stuck I've set up mem_dom0 to 4GB on 8GB box, but WinXPhvm-dm allocated only 32 MB, no matter of mem_dom0's size I would guess bad Xen Hypervisor tuning on Dom0 due to limited experience from my side. Otherwise, performance is significantly worse then in usual HVM DomU. Same install for CentOS 5.2 just hangs on the third page "Language Selection", Solaris Nevada Build 98 runs a bit faster , but fails after configuration phase gets completed. "No hard disk found"
|
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users |