Skip to contentSkip to conversation

guest system call doesn't do do_iret() ?

Q Min Lee 1 participant 2 messages Dec 6, 2007 – Dec 7, 2007 1 message not in the archive

lore
Share & tools
lore

Min Lee

author
#0 lore raw

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

author
#2 lore raw
In reply to a message not in the archive

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 <[email protected]> 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
[email protected]
http://lists.xensource.com/xen-devel