All of lore.kernel.org
 help / color / mirror / Atom feed
* progress and a problem
@ 2004-06-25 22:08 ron minnich
  2004-06-25 22:56 ` Keir Fraser
  0 siblings, 1 reply; 13+ messages in thread
From: ron minnich @ 2004-06-25 22:08 UTC (permalink / raw)
  To: xen-devel


I've got xen calling into my hypervisor_callback but i'm seeing a very 
weird problem. On the first instruction, which is a PUSHL %eax, I take a 
page fault. The values of %ss and %esp on stack make no sense, and in 
fact change from run to run of the guest OS. All other values stay the 
same. PC does look right. 

If i just put an IRETL as the first instruction of the hypervisor_callback
all is well -- no problem. Does Xen pass in a read-only stack segment to
the callback? I don't see similar problems on the Linux side.

If I get a stack dump, everything EXCEPT ss/esp look fine -- cs, ds, etc. 
are all right. 

I have done a HYPERVISOR_stack_switch call, and all other interrupts work 
save this one.

what function in Xen calls the hypervisor_callback in the guest?

ron



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-06-29 19:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 22:08 progress and a problem ron minnich
2004-06-25 22:56 ` Keir Fraser
2004-06-25 23:14   ` ron minnich
2004-06-26  4:25     ` ron minnich
2004-06-26  6:55       ` Keir Fraser
2004-06-26 16:30         ` ron minnich
2004-06-26 16:45           ` Keir Fraser
2004-06-28 17:50             ` ron minnich
2004-06-26 22:42         ` TOT doesn't compile Kip Macy
2004-06-26 23:18           ` Jody Belka
2004-06-27  8:01             ` Ian Pratt
2004-06-29 18:17           ` TOT doesn't link with debugging on Kip Macy
2004-06-29 19:41             ` Keir Fraser

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.