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

Re: [Xen-devel] Consuming PCI device in PV kernel



Hello Ian,

>> > Once you grant map a page from another domain, your domain no longer
>> > owns the PTE.  You should either avoid that PTE, or grant unmap the
>> > foreign frame first.
>> 
>> I  have  not  grant mapped this. I have just called update_va_mapping.
>> Should I be using grant?

> Andrew is saying that the mapping which is currently at the virtual
> address is *already* a grant mapping, not that you are trying to grant
> map something here. Grant maps need to be unmapped with the grant unmap
> hypercall, not just by rewriting the PTE. (IIRC).

> You should not be using grants to map PCI IO space, no.

Thanks  Ian. I'm off traveling next week so I'll pick up on this again
in August. I wonder what has grant mapped this memory area....

-- 
Best regards,
 Simon                            mailto:furryfuttock@xxxxxxxxx


_______________________________________________
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®.