On 06/15/12 15:57, Roger Pau Monne wrote:
Instead of mapping memory when a pagefault happens in the memory
region, map the memory directly on the pivcmd call (as Linux does).
This fixes the problem with Qemu upstream, that changes the location
of the pfns after calling xc_map_foreign_bulk.
Signed-off-by: Roger Pau Monne<roger.pau%citrix.com@localhost>
---
sys/arch/xen/xen/privcmd.c | 78 +++++++++++++++++++------------------------
1 files changed, 35 insertions(+), 43 deletions(-)
I tested this patch and works fine with me.