[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Sharing information between Driver Domain and hypervisor


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Amod <amodjaltade@xxxxxxxxx>
  • Date: Thu, 14 Jan 2010 00:29:31 +0530
  • Delivery-date: Thu, 21 Jan 2010 07:48:31 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=AqlH/XZtWJxjjLENqcNJruwApSM19W5h0C3x4Z+knUXSs3JkJ0bteEomex4PX8Pj1z cFXTLLmSRA3RWDxELOKuVFktdG+fIqOQ29wYrkKYkBvTyPiDlI2NqonoiDd5gQ+kNKYq 1XPovACY1hTKNdKVDM8Nc366pyFnnxgmMPbxs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,
I want to share some information between a driver domain for a NIC and the hypervisor, for eg, the number of packets transferred etc.

To do this, I am using the HYPERVISOR_shared_info in the netback driver, within the IDD to store the count of number of packets transferred. I have added some extra fields in the shared_info structure to suit my purpose.
I want to transfer this packet count from netback to the hypervisor. 
As i understand, the HYPERVISOR_shared_info page of a domain is shared as shared_info in the struct domain (defined in sched.h). 
But, the data is not propagating from the netback driver to the hypervisor. Even though the packet count in IDD's HYPERVISOR_shared_info is increasing, the packet count in domain->shared_info does not change.
What am i missing here ? or is there a better way to do this ?

Thanks in advance !

--
--
   With Regards ,
       Amod Jaltade
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.