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

[Xen-devel] Xen-aware kernel module

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Steven Y. Ko" <sko@xxxxxxxxxxx>
  • Date: Tue, 20 Nov 2007 18:30:25 -0600
  • Delivery-date: Tue, 20 Nov 2007 16:31:02 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=otZbmQqsb/Sc5EKkzqM3jDWcKcK1a6XaU/7USq2ZQtRGRE3I7hLDeszLM0BPJKgeirUCNum6UdhZLQzOpGpEbys/FEPjvMDBGM+/10VUs8I/iX+ZKS1MJm1q+hLPpp/06EgyilvAol8vncOfkRyFfYbqBlAFsUc1vGoL3gjwswU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


(I'm not sure if this is an appropriate place to ask this question. I
apologize, if it's not)

I'm trying to write a kernel module, that's sort of Xen-aware (or
virtualisation-aware). I say "sort of", because what I actually need
is checking the ring. Specifically, in my kernel module, I want to
check which ring the code is running on (ring0, ring1, or even ring
3!), and behave differently. Does Xen provide any interface to do it?
or is there any way to do it in a kernel module? Thanks for any help.


Xen-devel mailing list



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