[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How Xen handles Dom1 interrupts?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Jun Koi" <junkoi2004@xxxxxxxxx>
  • Date: Fri, 11 Aug 2006 19:03:57 +0900
  • Delivery-date: Fri, 11 Aug 2006 03:04:33 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=n2IWSKuH5oX45OHxzOiM0FJjeLuwjdZN/6rRTHfSBK7K+aK75ydx7HRS1LPZxJFOlptySbuPrXaggR2IQEdaaGxXodhJRilFhrJmTF0Eh+RjRnUzsy991P2SUKF4Md6VZx8iA5C6W6EOKmzYM7NNAR3jzZlp+ubxqlt5+yULFPU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Good morning,

I am new to Xen, and trying to understand how Xen works. I have some
questions about virtualization of interrupts on Xen. Thanks in advance
for all helps.

1) From papers about Xen architecture found at Xen homepage, Xen
seemingly intercepts interrupts of Dom1 (paravirtualization). So
interrupts occur in Dom1's context are sent to Xen, and Xen handles
them. Is that correct?

But then how can Dom1 gets the interrupts? For example if int3 occurs
inside Dom1, Xen intercepts int3, but then how debugger (like gdb) can
still work in Dom1? Maybe Xen sends that interrupt back to Dom1 after
processing it in VMM layer?

2) I have read
linux-xen-sparse/arch/i386/kernel/{traps-xen.c,traps.c,vmlinux.lds.S},
and looks like Dom1 still handles interrupts itself? Why, because I
suppose that the VMM already intercepts those interrupts?

3) How is linux-xen-sparse/arch/i386/kernel/traps-xen.c compiled,
while it is not refereed to in
linux-xen-sparse/arch/i386/kernel/Makefile? I see traps.c is refereed
instead of traps-xen.c, but I still saw traps-xen.o there after
compiling? What traps.c does, and what traps-xen.c does, since both
are very similar to me.



Thanks.
Jun

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.