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

Re: [Xen-ia64-devel] privilege level of PV domain


  • To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
  • From: Jürgen Groß <juergen.gross@xxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 25 Jun 2007 09:53:47 +0200
  • Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 25 Jun 2007 00:51:28 -0700
  • Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=knXP+x/T7Cgk9WEFPUSJfglU0IjQWjxm2p54rVQc5d57B1H1yf36Bub1cg+eWMXuK+PhvydTesdgBNSkJt9TNMHBW9fSQ8WjG5RIieT+SOXHc6AKW5KXabZwJS4wKagP;
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

Isaku Yamahata wrote:
> On Mon, Jun 25, 2007 at 08:34:02AM +0200, Jürgen Groß wrote:
>> I've got a question about the emulation of cpl=0 of a PV-domain.
>> Currently cpl=0 is emulated by using privilege level 2. Is there any special
>> reason not to use privilege level 1?
>>
>> The reason for my question is the port of our mainframe operating system to
>> xen/ia64. We are using three different privilege levels today and it would
>> make the port much easier if we could keep this approach.
>> This is only possible, if cpl=0 of the domU is mapped to privilege level 1
>> by the hypervisor, of course.
>>
>> If there is no architectural reason for using cpl=2 instead cpl=1, I would
>> prepare some patches...
> 
> It's because the historical reason as long as I know.
> Xen/ia64 owes to vBlades[1] very much and they chose cpl=2
> for guest kernel and used cpl=1 for other purose.
> Xen/IA64 inherited cpl=2 for guest and but hasn't used cpl=1 so far.
> At this moment I don't see any architectural except it would
> require tedious error prone code change.
> 
> [1] You can find vBlades paper easily on the net.

Thanks!
My plan is to make a patch first which uses a '#define' for the privilege
level instead the hard coded '2'. This should minimize a possible negative
impact.

Juergen

-- 
Juergen Gross                             Principal Developer
IP SW OS6                      Telephone: +49 (0) 89 636 47950
Fujitsu Siemens Computers         e-mail: juergen.gross@xxxxxxxxxxxxxxxxxxx
Otto-Hahn-Ring 6                Internet: www.fujitsu-siemens.com
D-81739 Muenchen         Company details: www.fujitsu-siemens.com/imprint.html

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


 


Rackspace

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