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

Re: [Xen-devel] Modify cr0 at dom0



I modified the memory area by vmap the protected physical page to another writable virtual address region.
 
So, solved~~
 

machi1271
 
Date: 2014-10-17 16:01
Subject: Re: [Xen-devel] Modify cr0 at dom0
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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