On Wed, Jun 13, 2012 at 2:22 PM, Jean-Yves Migeon
<jeanyves.migeon%free.fr@localhost> wrote:
Le 13/06/2012 13:05, Roger Pau Monné a écrit :
I've debugged this a little bit more, and I've found that
privpgop_fault gets called, and tries to map the address again
after
the call to xc_domain_add_to_physmap. But the call to pmap_enter_ma
returns the error 'EFAULT', and thus the segfault in Qemu. The
previous call to this function in IOCTL_PRIVCMD_MMAPBATCH (which
tries
to detect which pages can be mapped) didn't mark this page as
invalid,
so something must have changed in between... Suggestions are
welcome.
[...]
vaddr: 7f7feec00000 (which corresponds to the Qemu vaddr that
generates the segfault)
paddr: 3f800000
prot: 3
flags: 35
domid: 1 (which belongs to the domu I'm trying to create)