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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] WP flag in CR0, setting

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] WP flag in CR0, setting
From: Simon Kagstrom <simon.kagstrom@xxxxxx>
Date: 2006年7月03日 13:50:10 +0200
Cc: xen-devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2006年7月03日 04:50:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <3dd5d4765477cda81c13b785f0722100@xxxxxxxxxxxx>
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>
References: <87y7vzoq6e.wl%simon.kagstrom@xxxxxx> <ecb1312515704916b90d2c4d1f89a695@xxxxxxxxxxxx> <87zmge26i3.wl%simon.kagstrom@xxxxxx> <3dd5d4765477cda81c13b785f0722100@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Wanderlust/2.15.3 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/21.4 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)
At 2006年6月15日 09:08:37 +0100,
Keir Fraser wrote:
> On 15 Jun 2006, at 09:00, Simon Kagstrom wrote:
> > Thanks for the explanation. Would the WP flag work in a HVM setting?
>
> It may not be supported right now, but it would be easy to do so if not.
Does Xen itself rely on running with the WP flag set? I'll go with the
HVM supported WP-bit later, but as I don't have the hardware yet, I
wanted to try to just clear the bit in Xen, and that seems to cause
problems. Changing
diff -r 17fbffb737d9 xen/arch/x86/boot/x86_32.S
--- a/xen/arch/x86/boot/x86_32.S Thu Jun 22 21:41:19 2006 +0100
+++ b/xen/arch/x86/boot/x86_32.S Mon Jul 03 13:43:07 2006 +0200
@@ -150,7 +150,7 @@ no_execute_disable:
 #endif
 mov $idle_pg_table-__PAGE_OFFSET,%eax
 mov %eax,%cr3
- mov 0ドルx80050033,%eax /* hi-to-lo: PG,AM,WP,NE,ET,MP,PE */
+ mov 0ドルx80040033,%eax /* hi-to-lo: PG,AM,NE,ET,MP,PE */
 mov %eax,%cr0
 jmp 1f
 1: /* Install relocated selectors (FS/GS unused). */
Causes an assertion to trigger when booting the Linux dom0:
(XEN) Assertion '(x & PGT_count_mask) != 0' failed, line 1430, file mm.c
Is this due to how Xen works or is it because Linux uses writable page
tables (I have not checked the Linux sources other than the
__xen_guest_section).
// Simon
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support.(RFC) , Mark Williamson
Next by Date: Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support.(RFC) , Harry Butterworth
Previous by Thread: [Xen-devel] Re: [PATCH 1/2] build: clean up kclean and distclean for kernel , Horms
Next by Thread: Re: [Xen-devel] WP flag in CR0, setting , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /