From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amod Subject: Sharing information between Driver Domain and hypervisor Date: Thu, 14 Jan 2010 00:29:31 +0530 Message-ID: <53e074931001131059r32fd26d7vdf2bb4deaf8f28b8@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1984691050==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1984691050== Content-Type: multipart/alternative; boundary=001636c932160ba9e9047d10601f --001636c932160ba9e9047d10601f Content-Type: text/plain; charset=ISO-8859-1 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 --001636c932160ba9e9047d10601f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,
I want to share some information between a driver domain for a N= IC and the hypervisor, for eg, the number of packets transferred etc.
=

To do this, I am using the HYPERVISOR_shared_info in th= e netback driver, within the IDD to store the count of number of packets tr= ansferred. I have added some extra fields in the shared_info structure to s= uit my purpose.
I want to transfer this packet count from netback to the hypervisor.= =A0
As i understand, the HYPERVISOR_shared_info page of a domain = is shared as shared_info in the struct domain (defined in sched.h).=A0
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 increa= sing, 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 !

--
--
= =A0 =A0With Regards ,
=A0 =A0 =A0 =A0Amod Jaltade
--001636c932160ba9e9047d10601f-- --===============1984691050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1984691050==--