All of lore.kernel.org
 help / color / mirror / Atom feed
* state of guest at start-up
@ 2007-04-04  8:46 Max Dmitrichenko
  2007-04-04  9:49 ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: Max Dmitrichenko @ 2007-04-04  8:46 UTC (permalink / raw)
  To: xen-devel

Hi!

I'm currently trying to port one small real-time OS to Xen and have
couple of questions which I didn't find in the documentation.

1) What are the status of event channels mask at the start of the day?
My experiments showed that all the event channels are unmasked - is
this right? In the sources of Mini-OS, I have found a comment saying
that event channels are masked at the start. But this seems to be
obsolete, or do I make something wrong?

2) What is the meaning of shared_info.vcpu_info[0].evtchn_upcall_mask?
I thought that it masks all the event channels on the VCPU #0, but
this seems wrong, i.e. when I set this to 0xff, the hypervisor
callback is still being called. I have to set the
shared_info.evtchn_mask to all ones in order to mask all the event
channels. Is this behavour correct?

3) How to determine current VCPU number?

4) When I map the shared_info MFN into my OS's space via
update_va_mapping hypercall and then take the dump of the domain with
`xm dump-core -C ...`, the page where the shared_info supposed to be
mapped to is filled with all zeroes. Is this normal, of that means
that mapping was unsuccessful.

--
Thanks in advance,
  Max

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

end of thread, other threads:[~2007-04-05  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04  8:46 state of guest at start-up Max Dmitrichenko
2007-04-04  9:49 ` Keir Fraser
2007-04-04 22:39   ` Ответ: " Max Dmitrichenko
2007-04-05  6:28     ` Keir Fraser
2007-04-05  7:11       ` Max Dmitrichenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.