i folks

i want to create an xvm with some dedicated physical NIC's

the host is snv_126 (opensolaris) and the platform is an x4200 with 4 network 
interfaces.

http://hub.opensolaris.org/bin/view/Community+Group+xen/virtinstall says:
 ---------------------------------------------------------------------------
Configuring a dedicated NIC

Specifying a network-setup script of vif-dedicated allows a guest to directly 
use a NIC on the host, without going through a VNIC. The NIC should not be 
configured on the host dom0. As of June 2009, it's not possible to configure 
this via virt-install.

FIXME: explain how to set up
---------------------------------------------------------------------------

...the last line isn't particularly helpful in a how-to guide.

i've tried this (guest name is 'portal'):

# virsh attach-interface portal network e1000g1 --script vif-dedicated

but get:

error: this function is not supported by the hypervisor: virNetworkLookupByName


...which doesn't help much

i've also tried using this file (e1000g1.xml):

<interface type='ethernet'>
  <mac address='00:14:4f:83:0f:a5'/> 
  <script path='vif-dedicated'/>
  <target dev='vif-2.0'/>
</interface>


# virsh attach-device portal e1000g1.xml

which appears to work but i get this on startup:
# virsh start portal                    
error: Failed to start domain portal
error: POST operation failed: xend_post: error from xen daemon: (xend.err 
'Device 1 (vif) could not be connected. error: no NIC specified at 
backend/vif/13/1/bridge.')

(so i't not detecting that that mac address is the physical interface in 
question)

similarly  if i do this:

<interface type='ethernet'>
  <source bridge='e1000g1'/>
  <mac address='00:14:4f:83:0f:a5'/>
  <script path='vif-dedicated'/>
  <target dev='vif-2.0'/>
</interface>

i get this on startup:

# virsh attach-device portal e1000g1.xml
error: Failed to start domain portal
error: POST operation failed: xend_post: error from xen daemon: (xend.err 
'Device 1 (vif) could not be connected. error: no NIC specified at 
backend/vif/15/1/bridge.')



.... so how do i specify a dedicated NIC for a guest?
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to