WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] VIF setup

To: xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] VIF setup
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Mon, 20 Nov 2006 23:35:43 +0100
Delivery-date: Mon, 20 Nov 2006 14:36:09 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=t1+YtbPE06DxRstblFMcyeef4QgbebJbpVKJ3T7NIWJD8B2XK/GJ/AsY0PGYuEMuoqgfgs7idnAdzpr3ergzPUk86Hq5P1HwrKPYjI34nqLGtq2UdG8VIN8hkwZyN8ws6Z2cTNEyL8nSV53BsiwH3C5a5K7BqG18bAHieGplLtY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>