All of lore.kernel.org
 help / color / mirror / Atom feed
* [Q] guest system call doesn't do do_iret() ?
@ 2007-12-06  4:22 Min Lee
       [not found] ` <ec55b17e0712070753q3677a610y5a4a252e967268da@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Min Lee @ 2007-12-06  4:22 UTC (permalink / raw)
  To: xen-devel

Hello.
Basically I'd like to intercept guest's (of course, Linux) system call 
entry/exit,
so I've commented out fast path and I could intercept 'int 0x80' calls,
and I expected every system call should call xen's do_iret() , i.e,
HYPERVISOR_iret, but it doesn't seem that they call it !
Any idea or comments? What am I missing here?
If the guest doesn't use HYPERVISOR_iret, how do they return to userland?
Thanks in advance.

Min 

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

* Re: [Q] guest system call doesn't do do_iret() ?
       [not found] ` <ec55b17e0712070753q3677a610y5a4a252e967268da@mail.gmail.com>
@ 2007-12-07 19:36   ` Min Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Min Lee @ 2007-12-07 19:36 UTC (permalink / raw)
  To: Ashish Bijlani; +Cc: xen-devel

Yes, I've tried Dom0's.
Does it make difference if I try DomU's?

----- Original Message ----- 
From: Ashish Bijlani 
To: Min Lee 
Sent: Friday, December 07, 2007 10:53 AM
Subject: Re: [Xen-devel] [Q] guest system call doesn't do do_iret() ?


are you trying to intercept Dom0's system calls? 


On Dec 5, 2007 11:22 PM, Min Lee <min.lee@gatech.edu> wrote:

Hello.
Basically I'd like to intercept guest's (of course, Linux) system call
entry/exit,
so I've commented out fast path and I could intercept 'int 0x80' calls,
and I expected every system call should call xen's do_iret() , i.e,
HYPERVISOR_iret, but it doesn't seem that they call it !
Any idea or comments? What am I missing here?
If the guest doesn't use HYPERVISOR_iret, how do they return to userland?
Thanks in advance.

Min


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

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

end of thread, other threads:[~2007-12-07 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06  4:22 [Q] guest system call doesn't do do_iret() ? Min Lee
     [not found] ` <ec55b17e0712070753q3677a610y5a4a252e967268da@mail.gmail.com>
2007-12-07 19:36   ` Min Lee

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.