Amod
2010-Jan-13 18:59 UTC
[Xen-devel] Sharing information between Driver Domain and hypervisor
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@lists.xensource.com http://lists.xensource.com/xen-devel