|
From: | Gunasekaran Dharman |
Subject: | Re: [Qemu-devel] how to convert guest virtual address to host virtual address in QEMU? |
Date: | Wed, 9 Mar 2011 15:04:25 +0530 |
That's not really possible. On architectures with a software-managedOn Tue, Mar 8, 2011 at 5:30 PM, Gunasekaran Dharman <address@hidden> wrote:
> From guest application, Iam passing some virtual addresses to QEMU through
> device I/O operation. Now I want to convert these guest virtual addresses to
> host virtual addresses so that I can perform some operation using them. In
> QEMU, is there any macro or function available to convert guest virtual
> address to host virtual address?
> My objective is to perform guest's memcpy operation in host so that it will
> be faster.
TLB you don't know the layout of the virtual memory structures
(because they are defined in software and not standardized).
I suggest learning about and optimizing TCG instead of inventing a
memcpy device because it can benefit all code and does not require a
custom device and guest drivers.
Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |