WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [Q] guest system call doesn't do do_iret() ?

To: "Ashish Bijlani" <ashish.bijlani@xxxxxxxxx>
Subject: Re: [Xen-devel] [Q] guest system call doesn't do do_iret() ?
From: "Min Lee" <min.lee@xxxxxxxxxx>
Date: Fri, 7 Dec 2007 14:36:29 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Dec 2007 11:37:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <001901c837bf$abf4af80$0e00a8c0@MiniT61> <ec55b17e0712070753q3677a610y5a4a252e967268da@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>