From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Min Lee" Subject: [Q] guest system call doesn't do do_iret() ? Date: Wed, 5 Dec 2007 23:22:51 -0500 Message-ID: <001901c837bf$abf4af80$0e00a8c0@MiniT61> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ks_c_5601-1987"; reply-type=original Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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