> @Tamas, if you could check the traps implementation.

I had a quick look and it seems like you forgot to set the mem_access
permissions on the pages. You need the remapped gfn's to be marked
execute-only in the altp2m_idx view, and their actual gfn completely
inaccessible in altp2m_idx. You need to swap the views when those
memory access permissions are violated accordingly to the hostp2m or
to the altp2m_idr view. Without that patchguard is going to bluescreen
you.

Also, if you copy code from the DRAKVUF code-base please make sure you
apply the license that comes with that code (it's not plain GPL).

Thanks,
Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to