All of lore.kernel.org
 help / color / mirror / Atom feed
* VIF setup
@ 2005-01-14  1:50 Kero-Chan
  2005-01-14 11:46 ` Mark Williamson
  0 siblings, 1 reply; 16+ messages in thread
From: Kero-Chan @ 2005-01-14  1:50 UTC (permalink / raw)
  To: xen-devel

Please look at this does this look OK?

guest# ifconfig -a
eth0      Link encap:Ethernet  HWaddr AA:00:00:0C:0E:D9  
          inet addr:172.16.100.1  Bcast:172.16.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

domain0# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:08:54:08:3E:C7  
          inet addr:w.x.y.z  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:131747 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15796392 (15.0 Mb)  TX bytes:1114824 (1.0 Mb)
          Interrupt:9 Base address:0xd000 

vif10.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3345 errors:0 dropped:34 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:200784 (196.0 Kb)

xen-br0   Link encap:Ethernet  HWaddr 00:08:54:08:3E:C7  
          inet addr:w.x.y.z  Bcast:255.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:131569 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12221 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13934617 (13.2 Mb)  TX bytes:1100770 (1.0 Mb)

The vif interface in domain0 is not initialised correctly, right?


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 16+ messages in thread
* VIF setup
@ 2006-11-20 22:35 Jacob Gorm Hansen
  2006-11-20 22:43 ` Ewan Mellor
  0 siblings, 1 reply; 16+ messages in thread
From: Jacob Gorm Hansen @ 2006-11-20 22:35 UTC (permalink / raw)
  To: xen-devel

hi,

I just noticed that my vif setup code from buscreate no longer works
after upgrading to 3.0.3. Is there anywhere I can find documentation on
the current state of the Xenstore protocol for VIF setup? My current
code is below:

    sprintf(s,"%s/handle",frontend);
    sprintf(s2,"%d",uuid);
    xs_w(s, s2);

    sprintf(s,"%s/mac",frontend);
    xs_w(s, "aa:00:00:11:a6:02");

    sprintf(s, "%s/backend-id", frontend);
    xs_w(s, "0");

    sprintf(s,"%s/backend",frontend);
    xs_w(s, backend );

    sprintf(s, "%s/state", frontend);
    xs_w(s, "1");

    xs_end();
    xs_begin();

    sprintf(s,"%s/handle",backend);
    sprintf(s2,"%d",uuid);
    xs_w(s, s2);

    sprintf(s,"%s/mac",backend);
    xs_w(s, "aa:00:00:11:a6:02");

    sprintf(s,"%s/script",backend);
    xs_w(s, "");

    sprintf(s,"%s/frontend",backend);
    xs_w(s, frontend );

    sprintf(s,"%s/frontend-id",backend);
    sprintf(s2,"%d",domid);
    xs_w(s, s2 );

    sprintf(s, "%s/state", backend);
    xs_w(s, "1");

    xs_end();

Thanks,
Jacob

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-11-21  9:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14  1:50 VIF setup Kero-Chan
2005-01-14 11:46 ` Mark Williamson
2005-01-14 14:05   ` Derrik Pates
2005-01-14 19:48     ` Adam Sulmicki
2005-01-15  3:40       ` Ronald G. Minnich
2005-01-15  4:17         ` Derrik Pates
2005-01-15 10:00           ` Jan Kundrát
2005-01-15 14:07         ` Felipe Alfaro Solana
2005-01-15 16:20         ` Jody Belka
2005-01-15 16:48           ` Martin Maney
2005-01-18 15:21           ` Mike Wray
  -- strict thread matches above, loose matches on Subject: below --
2006-11-20 22:35 Jacob Gorm Hansen
2006-11-20 22:43 ` Ewan Mellor
2006-11-20 23:19   ` Jacob Gorm Hansen
2006-11-21  7:38     ` Keir Fraser
2006-11-21  9:42     ` Jacob Gorm Hansen

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.