Grant Tables & mm.c
Hi,
I am using grant tables to set up a shared memory between two guests.
One problem i am facing is that as soon as the shared memory is set up one of the domain crashes with the log message
"Attempt to implicitly unmap a granted PTE".
the message is from function "put_page_from_l1e" in mm.c(arch/x86).
what could be the reason? Any pointers would be of great help
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
You must explicitly unmap grants. So the domain which uses GNTTABOP_map_grant_ref must subsequently unmap it with GNTTABOP_unmap_grant_ref. You cannot just zap the pte!
-- Keir
Quoted 12 lines · Koripella Srinivas
Hi,
I am using grant tables to set up a shared memory between two guests. One problem i am facing is that as soon as the shared memory is set up one of the domain crashes with the log message
"Attempt to implicitly unmap a granted PTE".
the message is from function "put_page_from_l1e" inmm.c(arch/x86).what could be the reason? Any pointers would be of great help
Quoted 7 lines
Here¹s a new way to find what you're looking for - Yahoo! Answers
<http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines
I am using grant tables to set up a shared memory between two guests. One problem i am facing is that as soon as the shared memory is set up one of the domain crashes with the log message "Attempt to implicitly unmap a granted PTE".
the message is from function "put_page_from_l1e" inmm.c(arch/x86).what could be the reason? Any pointers would be of great help
This means that something is attempting to zero the PTE pointing to the granted page without doing an explicit grant unmap hypercall; this is not allowed by Xen.
Do you have any idea what might be causing this? Are you mapping pages to userspace? Linux tends to zap userspace page mappings quite cheerfully unless you do something to stop it, could this be your problem?
Cheers,
Mark
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
Quoted 1 line · Keir Fraser
You must explicitly unmap grants. So the domain which uses
GNTTABOP_map_grant_refmust subsequently unmap it withGNTTABOP_unmap_grant_ref. You cannot just zap the pte!
Does that just apply to the last pte, or any pte?
J
Quoted 5 lines · Jeremy Fitzhardinge
Quoted 3 lines
You must explicitly unmap grants. So the domain which uses
GNTTABOP_map_grant_refmust subsequently unmap it withGNTTABOP_unmap_grant_ref. You cannot just zap the pte!Does that just apply to the last pte, or any pte?
Any pte that was created via GNTTABOP_map_grant_ref.
-- Keir