Thursday, December 18, 2008


Running 64-bit Solaris 10U6 HVM DomU (2 vcpus) at Xen 3.3.1-RC3 CentOS 5.2 Dom0


Runtime profile :-

[root@ServerXen vm]# cat solaris.hvm
name = "S10U6"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/sda11,hda,w']
vif = [ 'bridge=eth0' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
# This forces the PSE36 bit to 1 in guest's CPUID emulation
cpuid=[ '1:edx=xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx' ]
vnc=1
boot="d"
usb=1
usbdevice="tablet"
vcpus=2
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'

Runtime reports:-

****************************
Solaris 10U6 HVM Console
****************************
bash-3.00# uname -a
SunOS dhcppc7 5.10 Generic_137138-09 i86pc i386 i86pc
bash-3.00# /usr/bin/isainfo -kv
64-bit amd64 kernel modules
***************************************
SSH to Xen 3.3.1-rc3 CentOS 5.2 Dom0
***************************************
bash-3.00# ssh root@192.168.1.33
root@192.168.1.33's password:
Last login: Fri Dec 19 00:47:10 2008 from 192.168.1.39
[root@ServerXen ~]# uname -a
Linux ServerXen 2.6.18.8-xen #1 SMP Thu Dec 18 08:01:37 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@ServerXen ~]# xm info|grep xen_
xen_major : 3
xen_minor : 3
xen_extra : .1-rc3
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
xen_changeset : Wed Dec 17 13:52:35 2008 +0000 18540:f802623e6e5d
[root@ServerXen ~]# xm list -l S10U6
(domain
(domid 5)
(on_crash restart)
(uuid 77d0303d-b367-49b1-081f-2d651ec207c8)
(bootloader_args )
(vcpus 2)
(name S10U6)
(on_poweroff destroy)
(on_reboot restart)
(bootloader )
(maxmem 2048)
(memory 2048)
(shadow_memory 17)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1229666479.38)
(cpu_time 199.967939594)
(online_vcpus 2)
(image
(hvm
(kernel )
(hpet 0)
(stdvga 0)
(loader /usr/lib/xen/boot/hvmloader)
(serial pty)
(vncunused 1)
(boot d)
(rtc_timeoffset 0)
(pci ())
(pae 1)
(hap 1)
(acpi 1)
(localtime 0)
(timer_mode 0)
(vnc 1)
(nographic 0)
(guest_os_type default)
(apic 1)
(monitor 0)
(usbdevice tablet)
(device_model /usr/lib64/xen/bin/qemu-dm)
(usb 1)
(xauthority /tmp/.gdmLTQZLU)
(isa 0)
(display :0.0)
(notes (SUSPEND_CANCEL 1))
)
)
(status 2)
(state -b----)
(store_mfn 524285)
(device
(vif
(bridge eth0)
(mac 00:16:3e:26:ca:13)
(script /etc/xen/scripts/vif-bridge)
(uuid 8f703623-8d6a-6753-84b4-b74d181eabf0)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 283d023e-5598-69be-43f7-3f4d45f2a0f1)
(dev hdc:cdrom)
(uname file:/mnt/etc/xen/isos/solaris10.iso)
(mode r)
(backend 0)
(bootable 1)
(VDI )
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 9132d2dd-31dc-7cee-9f05-9185028fa088)
(dev hda:disk)
(uname phy:/dev/sda11)
(mode w)
(backend 0)
(bootable 0)
(VDI )
)
)
(device
(vfb
(vncunused 1)
(type vnc)
(uuid 1d14dae3-21ad-47ac-8894-a57592547902)
(location localhost:5900)
)
)
(device
(console
(protocol vt100)
(location 3)
(uuid de52052b-6685-e7e0-0359-78057b2e0b03)
)
)
(cpuid ((1 ((edx xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx)))))
)