Hello, I am trying to enable networking at domU in xen on arndale, and my first goal is to run network-backend at dom0. While I was doing this, I noticed network-backend driver tries to find a device from xenbus, and xenbus reads device info from xenstore. However, xenstore does not contain virtual interface (vif) as backend device at the moment: root@localhost:~# xenstore-ls /local/domain/0/backend | grep -v "^ " console = "" vbd = "" Now, I''m stuck and could you tell me how to add vif into xenstored (backend directory)? Sincerely Thomas
On Mon, 8 Apr 2013, Sengul Thomas wrote:> Hello, > > I am trying to enable networking at domU in xen on arndale, and my > first goal is to run network-backend at dom0. > > While I was doing this, I noticed network-backend driver tries to find > a device from xenbus, and xenbus reads device info from xenstore. > However, xenstore does not contain virtual interface (vif) as backend > device at the moment: > > root@localhost:~# xenstore-ls /local/domain/0/backend | grep -v "^ " > console = "" > vbd = "" > > Now, I''m stuck and could you tell me how to add vif into xenstored > (backend directory)?If you add: vif = [ ''bridge=xenbr0'' ] to the VM config file, xl should automatically create all the xenstore entries for you. Of course you need to actually create the bridge in dom0 and make sure that the new vif interface is added to the bridge in order for the network to actually work.
On 04/08/2013 09:57 AM, Sengul Thomas wrote:> Hello,Hello,> I am trying to enable networking at domU in xen on arndale, and my > first goal is to run network-backend at dom0. > > While I was doing this, I noticed network-backend driver tries to find > a device from xenbus, and xenbus reads device info from xenstore. > However, xenstore does not contain virtual interface (vif) as backend > device at the moment: > > root@localhost:~# xenstore-ls /local/domain/0/backend | grep -v "^ " > console = "" > vbd = "" > > Now, I''m stuck and could you tell me how to add vif into xenstored > (backend directory)? >If you use xl to start you domU, you just need to add in your configuration file something like: vif = [ ''bridge=xenbr0'' ] Where xenbr0 is a bridge with eth0 inside. Then, xl will automatically create the backend directory in xenstore. Cheers, Julien
On Mon, Apr 8, 2013 at 7:39 PM, Julien Grall <julien.grall@citrix.com> wrote:> > > If you use xl to start you domU, you just need to add in your > configuration file something like: > > vif = [ ''bridge=xenbr0'' ] > > Where xenbr0 is a bridge with eth0 inside. Then, xl will automatically > create the backend directory in xenstore. >It works! Thanks a lot Julien and Stefano :) Now I can get to see the internals of backend/frontend drivers. Thomas