From: Jacob Gorm Hansen <jacobg@diku.dk>
To: xen-devel <Xen-devel@lists.xensource.com>
Subject: VIF setup
Date: Mon, 20 Nov 2006 23:35:43 +0100 [thread overview]
Message-ID: <1164062143.3127.3.camel@localhost.localdomain> (raw)
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
next reply other threads:[~2006-11-20 22:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 22:35 Jacob Gorm Hansen [this message]
2006-11-20 22:43 ` VIF setup 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
-- strict thread matches above, loose matches on Subject: below --
2005-01-14 1:50 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164062143.3127.3.camel@localhost.localdomain \
--to=jacobg@diku.dk \
--cc=Xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.