All of lore.kernel.org
 help / color / mirror / Atom feed
* xc_map_foreign_batch and 'Bus error' or 'Bad address'.
       [not found] <E1IvXCh-0001co-ST@host-192-168-0-1-bcn-london>
@ 2007-11-23 16:50 ` Paradox
  0 siblings, 0 replies; only message in thread
From: Paradox @ 2007-11-23 16:50 UTC (permalink / raw)
  To: xen-devel

Hi

I'm tried to use xc_map_foreign_batch to map a page. I don't understand 
precisely which is the parameter *arr in unsigned long xen_pfn_t type. 
This is a pfn?

I tried to call xc_map_foreign_batch with a machine address mapped with 
xm_map_foreign _range and in this way I receive a "Bus error" message.

If I call xc_map_foreign_batch with the MFN I receive a "XXXXXXX: Bad 
address" error.

I think must be called with pfn. If it is so, I must convert a MFN in 
PFN, right? I see in xc_domain_save e translate_mfn_to_pfn. How I can 
include to call this marco?

Many Thanks.

Bye

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-23 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IvXCh-0001co-ST@host-192-168-0-1-bcn-london>
2007-11-23 16:50 ` xc_map_foreign_batch and 'Bus error' or 'Bad address' Paradox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.