xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Understanding Xen event channel bit operation
@ 2015-10-25  9:25 amin.fallahi
  2015-10-26 10:50 ` David Vrabel
  0 siblings, 1 reply; 2+ messages in thread
From: amin.fallahi @ 2015-10-25  9:25 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]

Hi everybody
I need to understand when these pending and mask bits are set and cleared.
It seems pending bits are set by evtchn_set_pending method in
event_channel.c but I don't understand where pending bit is cleared by the
guest and where mask bit is set and reset?
Can anybody help me with understanding this?
Thanks all

[-- Attachment #1.2: Type: text/html, Size: 396 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Understanding Xen event channel bit operation
  2015-10-25  9:25 Understanding Xen event channel bit operation amin.fallahi
@ 2015-10-26 10:50 ` David Vrabel
  0 siblings, 0 replies; 2+ messages in thread
From: David Vrabel @ 2015-10-26 10:50 UTC (permalink / raw)
  To: amin.fallahi@gmail.com, xen-devel

On 25/10/15 09:25, amin.fallahi@gmail.com wrote:
> Hi everybody
> I need to understand when these pending and mask bits are set and
> cleared. It seems pending bits are set by evtchn_set_pending method in
> event_channel.c but I don't understand where pending bit is cleared by
> the guest and where mask bit is set and reset?

The mask and pending bits are in memory shared with the guest and the
guest (mostly) modifies these bits by writing directly to the shared memory.

You need to look at the guest kernel (e.g.,
drivers/xen/events/events_base.c in Linux).

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-26 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-25  9:25 Understanding Xen event channel bit operation amin.fallahi
2015-10-26 10:50 ` David Vrabel

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).