VIF setup
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
Quoted 6 lines · Jacob Gorm Hansen
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:
Nothing changed, AFAIR. What's the nature of your failure?
Ewan.
Quoted 11 lines · Ewan Mellor
Quoted 6 lines · Jacob Gorm Hansen
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:
Nothing changed, AFAIR. What's the nature of your failure?
The domU logs the following in dmesg:
XENBUS: Timeout connecting to device: device/vif/11600 (state 0)
Thanks,
Jacob
Quoted 5 lines · Jacob Gorm Hansen
Quoted 2 lines
Nothing changed, AFAIR. What's the nature of your failure?
The domU logs the following in dmesg:
XENBUS: Timeout connecting to device: device/vif/11600 (state 0)
I'd stick xenstored into logging mode and create a guest using the python tools. Then see what nodes are now written by xend (might need to extend the logging to make it clear who writes what into the store). I can't think of anything essential that's been added though.
-- Keir
Quoted 2 lines · Jacob Gorm Hansen
The domU logs the following in dmesg:
XENBUS: Timeout connecting to device: device/vif/11600 (state 0)
Turns out Xenstored was hosed, a reboot seems to have cured it.
Thanks,
Jacob