Skip to contentSkip to conversation

Xen shadow page table

DISCUSSION jack nemati 2 participants 2 messages Dec 12, 2011

lore
Share & tools
lore
#0 lore raw

Dear George Dunlap,

I just need to enable the Xen shadow page table ( if HAP is not possible) in that I need to take the control of dom0's pages in order to modify their control flags. is there any solution for this problem.

it's noticeable that, I have enabled this feature by directly setting of the opt_dom0_shadow init variable but I cause some CPU stall.

thanks in advance. Regards

--- On Mon, 12/12/11, George Dunlap <[email protected]> wrote:

From: George Dunlap <[email protected]>
Subject: Re: [Xen-devel] Xen shadow page table
To: "jack nemati" <[email protected]>
Cc: [email protected]
Date: Monday, December 12, 2011,
5:05 AM

On Sat, Dec 10, 2011 at 9:54 AM, jack nemati <[email protected]> wrote:

Dear friends,

I'm working on Xen's Dom0, my question is how we can enable the shadow page table or hardware assistant page table for it (the Dom0). Thanks in advance.

You can't enable HAP at the moment.  What do you want to do with shadow pagetables?

 -George

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hello,

(Please don't top-post)

Quoted 3 lines · jack nemati

I just need to enable the Xen shadow page table (if HAP is not possible) in that I need to take the control of dom0's pages in order to modify their control flags. is there any solution for this problem.

The way to enable shadow pagetables for dom0 is the "dom0_shadow" command-line option to xen.

Quoted 2 lines

it's noticeable that, I have enabled this feature by directly setting of the opt_dom0_shadow init variable but I cause some CPU stall.

It works fine for me (with a 64-bit dom0 on 64-bit xen from xen-unstable tip, on an Intel Xeon E5520). There must be something different about your setup that causes it to fail.

(Please read http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen about how to report errors in Xen.)

Cheers,