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

Re: [Xen-devel] "Tried to do a paging op on itself"



On Mon, 8 Aug 2016 13:35:42 -0700 (MST) Alina wrote:
> When I try to enable shadow page table features using the shadow_control
> function, I get this message in the hypervisor logs: "Tried to do a paging
> op on itself". After backtracking to the source of this message, I
> discovered it comes from the condition: "if ( unlikely(d == current->domain)
> )", which means that the hypervisor does not consider the current domain as
> the same domain I give as parameter, even though I checked and their
> domain_id is the same.
> 
> Does anyone have any idea why the hypervisor does not see them as being
> equal?

You are misreading the code: a domain cannot call xc_shadow_control()
on itself. I've never played with shadow paging, but you'd probably
have more luck running your code from dom0 against a user domain.

-- 
Mihai Donțu

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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