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

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Q] guest system call doesn't do do_iret() ?
From: "Min Lee" <min.lee@xxxxxxxxxx>
Date: Wed, 5 Dec 2007 23:22:51 -0500
Delivery-date: Wed, 05 Dec 2007 20:23:33 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

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