From: "Jan Beulich" <jbeulich@novell.com>
To: Grzegorz Milos <gm281@cam.ac.uk>, Ahmed Moneeb Azab <amazab@ncsu.edu>
Cc: xen-devel@lists.xensource.com
Subject: Re: System Calls in x86_32
Date: Thu, 19 Jun 2008 15:42:55 +0100 [thread overview]
Message-ID: <485A8C8F.76E4.0078.0@novell.com> (raw)
In-Reply-To: <4cac40570806190642y22757fp4498a69dc7698f8e@mail.gmail.com>
>The reason why Xen wants to intercept the
>interrupts is that we could be executing 32bit guest, or an HVM guest
>etc (look through the definition of int80_direct_trap for details).
Not exactly. First of all, HVM guests are don't-care here - they handle
int 0x80 with their own IDT. 64-bit guests must go through Xen because
guest and kernel run in ring 3, and the kernel mode flag must be set
correctly, which can only be donein Xen. 32-bit guest must go through
Xen because x84-64 doesn't know 32-bit gates (i.e. the target code
selector of any gate must be a 64-bit code segment).
Jan
prev parent reply other threads:[~2008-06-19 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 22:56 System Calls in x86_32 Ahmed Moneeb Azab
2008-06-19 13:42 ` Grzegorz Miłoś
2008-06-19 14:42 ` Jan Beulich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=485A8C8F.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=amazab@ncsu.edu \
--cc=gm281@cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.