From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Modify cr0 at dom0 Date: Fri, 17 Oct 2014 11:01:24 +0300 Message-ID: <5440CCD4.7010509@bitdefender.com> References: <201410170947517919470@gmail.com>, <5440B647.2000502@bitdefender.com> <201410171434447719581@gmail.com>, <5440BBBD.4040709@bitdefender.com> <201410171514301630964@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201410171514301630964@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: machi1271 , xen-devel List-Id: xen-devel@lists.xenproject.org On 10/17/2014 10:14 AM, machi1271 wrote: > I'v tried the way to modify CR0 by writing to it directly. But I got the > following error: > > (XEN) traps.c:1768:d0 _Attempt to change unmodifiable CR0 flags. I think you're only allowed to modify _some_ CR0 flags by Xen (CR0.TS and maybe others). You'd have to look at the Xen source code to see which ones. Hope that helps, maybe someone with more experience doing what you need to do can chime in. Razvan