xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Amod <amodjaltade@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Sharing information between Driver Domain and hypervisor
Date: Thu, 14 Jan 2010 00:29:31 +0530	[thread overview]
Message-ID: <53e074931001131059r32fd26d7vdf2bb4deaf8f28b8@mail.gmail.com> (raw)


[-- 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

                 reply	other threads:[~2010-01-13 18:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53e074931001131059r32fd26d7vdf2bb4deaf8f28b8@mail.gmail.com \
    --to=amodjaltade@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).