Gregory Haskins wrote:
> On Fri, 2007-08-10 at 19:59 +0300, Avi Kivity wrote:
>
>
>> Note that passing a virtual address is highly discouraged as its meaning
>> can change from vcpu to vcpu, it might not be mapped, translation is
>> slow, etc. Just let the guest do the translation.
>>
>
On Fri, 2007-08-10 at 19:59 +0300, Avi Kivity wrote:
> Note that passing a virtual address is highly discouraged as its meaning
> can change from vcpu to vcpu, it might not be mapped, translation is
> slow, etc. Just let the guest do the translation.
Yeah, Hollis and Anthony straighted me out
Gregory Haskins wrote:
>>>
>>>
>> Yes, you can pass through any gva. There are couple of things to be
>> aware of though. When passing a gva, you have to be sure that the gva
>> is actually mapped in memory as KVM cannot cause Linux to fault in a
>> page.
>>
>
> Cool! Ya, I tot
On Fri, 10 Aug 2007 00:09:18 -0400, Gregory Haskins wrote:
>
> If so, how would I do this: E.g. can I just pass the pointer, and then
> do gva_to_hpa() on the host? Or do I need to prep the pointer before
> sending it?
We've talked about this a little in the
past: see the discussion around http
On Fri, 2007-08-10 at 09:32 -0500, Anthony Liguori wrote:
> Gregory Haskins wrote:
> > Hi All,
> > I am working on some PV stuff and had some questions about the ability
> > to share memory across the Guest/Host boundary.
> >
> > It seems that most examples of how to do this always involve starti
Gregory Haskins wrote:
> Hi All,
> I am working on some PV stuff and had some questions about the ability
> to share memory across the Guest/Host boundary.
>
> It seems that most examples of how to do this always involve starting
> with a *page, converting it to a gfn via page_to_gfn(), and using
Hi All,
I am working on some PV stuff and had some questions about the ability
to share memory across the Guest/Host boundary.
It seems that most examples of how to do this always involve starting
with a *page, converting it to a gfn via page_to_gfn(), and using that
as a gpa to pass across the