[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] evtchn sanity check

  • To: "xen-devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "King, Steven R" <steven.r.king@xxxxxxxxx>
  • Date: Tue, 18 Oct 2005 14:30:40 -0700
  • Delivery-date: Tue, 18 Oct 2005 21:28:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcXUKzAt1qMHpo48TpC+6vZTQE12rw==
  • Thread-topic: evtchn sanity check

Would appreciate a sanity check on my understanding:

When doing a read() from an interdomain event channel file descriptor
(/dev/xen/evtchn), the values read are 16-bit port numbers on which
there is an event.  Is there ever anything else that is read() from the
event channel?

When doing a write() on an interdomain event channel file descriptor,
the data written are 16-bit port values for which events should be
enabled (or generated?).  Is there ever anything else that is write()'n
to an event channel?

After doing a notify() IOCTL on an interdomain event channel, a read()
on the remote file descriptor returns the 16-bit port number that
received the notify.

Thanks for the time,

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.