Hi,

I was trying to launch windows 2003 and solaris hvm guest on OpenSolaris with 
follwing python file using xm create command.
--------------------------------------------------------------------------------------------------

-bash-3.2$ cat domU.py 
name='domU-DP-Rr7MqFiruS'

vcpus='1'
memory='1024'

vif=[ 'type=ioemu' ]
builder='hvm'

disk=['file://guest-images/domU-DPRr7MqFiruS/win2003.img,hda,w']

boot='c' 
vnc=1 

sdl=1 

import os, re 
arch = os.uname()[4] 

if re.search('64', arch): 
        arch_libdir = 'lib64' 
else: 
        arch_libdir = 'lib' 

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

kernel = '/usr/lib/xen/boot/hvmloader' 

on_crash = 'destroy'

--------------------------------------------------------------------------------------------------

Windows domU is starting without any error with this py file, and is able to 
dynamically set up IP address from the DHCP server.

With the same script when I tried to launch Solaris hvm guest, It was not able 
to load xnf0 interface. During the experiment I cut out  “type=ioemu” and used 
just vif=[  ''  ], and that worked. 

After keeping the vif entry empty it was able to load xnf0 interface and also 
picked up dynamic address from the DHCP server.

 
Why for the solaris hvm guest vif=[ 'type=ioemu' ] not required to emulate IO 
devices? 

Regards,
Divyen Patel
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to