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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|