* Sharing information between Driver Domain and hypervisor
@ 2010-01-13 18:59 Amod
0 siblings, 0 replies; only message in thread
From: Amod @ 2010-01-13 18:59 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 900 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1055 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-13 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 18:59 Sharing information between Driver Domain and hypervisor Amod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).