* Enabling networking at domU (xen on arndale)
@ 2013-04-08 8:57 Sengul Thomas
2013-04-08 10:33 ` Stefano Stabellini
2013-04-08 10:39 ` Julien Grall
0 siblings, 2 replies; 4+ messages in thread
From: Sengul Thomas @ 2013-04-08 8:57 UTC (permalink / raw)
To: Xen Devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Enabling networking at domU (xen on arndale)
2013-04-08 8:57 Enabling networking at domU (xen on arndale) Sengul Thomas
@ 2013-04-08 10:33 ` Stefano Stabellini
2013-04-08 10:39 ` Julien Grall
1 sibling, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2013-04-08 10:33 UTC (permalink / raw)
To: Sengul Thomas; +Cc: Xen Devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Enabling networking at domU (xen on arndale)
2013-04-08 8:57 Enabling networking at domU (xen on arndale) Sengul Thomas
2013-04-08 10:33 ` Stefano Stabellini
@ 2013-04-08 10:39 ` Julien Grall
2013-04-09 1:27 ` Sengul Thomas
1 sibling, 1 reply; 4+ messages in thread
From: Julien Grall @ 2013-04-08 10:39 UTC (permalink / raw)
To: Sengul Thomas; +Cc: Xen Devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Enabling networking at domU (xen on arndale)
2013-04-08 10:39 ` Julien Grall
@ 2013-04-09 1:27 ` Sengul Thomas
0 siblings, 0 replies; 4+ messages in thread
From: Sengul Thomas @ 2013-04-09 1:27 UTC (permalink / raw)
To: Julien Grall, Stefano Stabellini; +Cc: Xen Devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-09 1:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 8:57 Enabling networking at domU (xen on arndale) Sengul Thomas
2013-04-08 10:33 ` Stefano Stabellini
2013-04-08 10:39 ` Julien Grall
2013-04-09 1:27 ` Sengul Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.