On Thu, Jan 03, 2008 at 05:54:16PM -0800, Saurabh Mishra wrote: > When I add 'vif = [''] in the .pf file, xm create failed and I > couldn't even boot the domain. > > If I don't give 'vif = ['']' in .py file, then domain boots but does > not see VNIC interface via dladm. > > bash-3.2# xm create -c snv.1.boot.py > Using config file "./snv.1.boot.py". > Error: > bash-3.2# > > As you can see, there is no error message being communicated back to user. > > bash-3.2# cat snv.1.boot.py > name = 'solaris-pv' > memory = '1024' > vcpus = 4 > disk = [ 'phy:/dev/zvol/dsk/snv-pool/vol,0,w' ] > on_poweroff = 'destroy' > on_reboot = 'restart' > on_crash = 'preserve' > # Commenting it out > #vif = [ 'mac=0:14:4f:2:12:35', 'ip=10.5.63.98', 'bridge=nge1' ]
Whilst it's commented out, this line is actually wrong. It says to assign three network interfaces to the guest. You want something more like: vif = [ 'mac=0:14:4f:2:12:35,ip=10.5.63.98,bridge=nge1' ] > vif = [ '' ] > bash-3.2# > > The same procedure works for s10u5 HVM domain (i.e when giving > nge1). I can plumb the interface and assign IP to s10u5 domain. After trying with the PV domain and "vif = ['']", please put the contents of the logfiles in /var/log/xen somewhere that I can look at them. dme. _______________________________________________ xen-discuss mailing list [email protected]
