WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Xen-aware kernel module

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen-aware kernel module
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=B8OYSINTlMduTxtP9EZo306JLh8iaicjKkznaO1DmRM=; b=mQdstUevnKOPaZMYYiKqF0mfYIjd7cEQyRb6iPLMeY+JsYd5F64ip8tITFvinbGqqAWROL36nszPDrRvt6gV2rVIEnaUnm/CLZL4CJ1oAV9MMkDzot6yZ45UemU4LFuIJ1g0o5WfQ8c5YUC1yO7LQrl3p+AukeQ54Lcbr8Bucz4=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

(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.

Regards,
Steve

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

<Prev in Thread] Current Thread [Next in Thread>