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] supervisor_mode_kernel and hypercall

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] supervisor_mode_kernel and hypercall
From: "Yanjun Wu" <yanjun.wu@xxxxxxxxx>
Date: Mon, 20 Oct 2008 18:14:36 +0800
Delivery-date: Mon, 20 Oct 2008 03:14:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=D595BTEuIPRNOSb6F4NIxh9sjS9OPdHznrmTJrdJC7c=; b=tLJAUKC9uCTcW+21WjkyTdLP6UUdtPjoUQ4Cwiv3SsEz177Rg/MrJLIzonNVlnDN7V WvJMurTIWgv2sSQffuuuSmdaCnqT4YLAhOeIQuyJPpHnwuGyPtIyTHJlRJ96XR+SQZzV aXde0kQI0Tyhvr63DgfHMj6erT30OVkvLQgQU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=v02O3NXKLo2Sc0RWBYs2CzRIBq6WbWgzFnbALrKOtnmvdb0vf+IZJ3dw5ODImLZpY6 GACO5xT2eWzavCMW7u5nEne6K1buyUQyU1WCkCa+tG/hQqnO+b/5S/cttt3CjUOTAl/+ MuFZUqd1V/BTxmoaV/Fmd6OEwyvQ44qyTiE2Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

In xen/arch/x86/x86_32/traps.c, if supervisor_mode_kernel is true, the hypercall_page will be initialized by hypercall_page_initialise_ring0_kernel.
my question is, does supervisor_mode_kernel mean that the guest kernel is also running in ring0, the same privilege level as Xen hypervisor?

The book "the definitive guide to the xen hypervisor" (in page 30) says hypercall through int82 is now deprecated, and replaced by hypercall_page.
but int82 can still be found in hypercall_page_initialise_ring1_kernel. In what situation it will be used?

Thanks.

-Yanjun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>