braham othmen
2008-Aug-19 08:30 UTC
[Xen-devel] Write some informations from Netfront to Xenstore
Hi, I''m trying to write some informations from linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c like the number of packets sent, received and dropped to the Xenstore. I succeed to get the information written correctly for several second and than i got a crash of the virtual machine which had executed the instruction of writing. For example: I put this instruction ligne after updating the number of packets transmitted in netif_poll() function of the code np->stats.rx_packets++; // rx packet update err = xenbus_printf(XBT_NIL,np->xbdev->nodename,"netfront_packet_rx","%lu ",np->stats.rx_packets); // the information is correctly written before the crash of the virtual machine thank for your help and recommendations Braham Othmen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel