Skip to contentSkip to conversation

Unable to host backend on User Domains

DISCUSSION Abhay G A 1 participant 1 message Feb 7, 2006

lore
Share & tools
lore

Abhay G A

author
#0 lore raw

Hi,
Is it possible to host a split driver between 2 user
domains. There is no concrete documentation on doing so.
I have basically copied the NETIF backend and frontend drivers and created the split TEMPIF drivers. I have also changed the python scripts to create devices.

When used between dom0 and domU this works.
By changing the protocol type of device i was be able to send and recieve socket buffers, by just adding network protocol hooks, like ip_rcv(). But i am unable to do so between 2 domUs. Is there anything special that i have to do.

I am using XEN 3.0 testing.

I have enabled the backend on one domU by adding the following line in the boot config file as

Quoted 1 line
Quoted 1 line

tempif = yes

and added the following info in boot config file of domU hosting the frontend

Quoted 1 line
Quoted 1 line

tempvif = [ 'backend=1']

assuming domU hosting the backend is 1.

While creating the device using python script, without the following line
back = { 'hotplug-status' : 'connected' }

error when i execute xm create is

Quoted 1 line
Quoted 1 line

Error: Device 0 (tempvif) could not be connected. Hotplug scripts not working

otherwise the device is created on the domainU hosting frontend, without the probe functions calling the backend.

therefore i see NO ANY COMMUNICATION BETWEEN XENBUS and BACKEND for TEMPIF drivers

thanks in advance,
looking forward for some insight

abhay