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] xenbus api

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xenbus api
From: Fabien Hermenier <Fabien.Hermenier@xxxxxx>
Date: Thu, 15 Jun 2006 10:30:01 +0200
Delivery-date: Thu, 15 Jun 2006 01:30:36 -0700
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
Hello
I have a lot of problem using the xenbus api (in xen-3.0-testing).

I had to modify the network backend driver (file netback.c), and each
call to a xenbus function in a virtual machine make my machine reboot
(not the virtual, the real machine).

for example, I 've add this line of code (wich is useless):
        printk("%d",xenbus_exists(XBT_NULL,"/local/domain/0/","domid"));
after a network packet reception.

When I launch my virtual machine, the station reboot after the virtual
machine console log is stopped after this block:

TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17

What do I wrong ? Could I use the xenbus API in the backend (I have same
problem in the frontend) ? Any tips/advice would be appreciate

Regards.
Fabien


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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