csocskos at hotmail
Jul 31, 2012, 7:00 AM
Post #1 of 1
Dear Developer mail-list members!
built-in log mechanism for pending messages
I like to interest, that is there any built-in log mechanism which is contains how many pending messages has each domain (including dom0)?
(I like to reach this information from the do_schedule() method from the scheduler)
Actually I’m reading “The Definition Guide to the Xen Hypervisor” book, and I found the following information there:
“The evtchn_pending of the shared_info_t is 8 machine words long and contains a bit-field which event channels have events waiting.”
If I calculate that, how many bits sets to 1 on the evtchn_pending field, then I get the number of pending messages for a domain? Is this also works for dom0(incoming/outgoing pending massages)?
Thank you in advance
Xen-devel mailing list
Xen-devel [at] lists