From: Paradox <paradox@cheapnet.it>
To: xen-devel@lists.xensource.com
Subject: xc_map_foreign_batch and 'Bus error' or 'Bad address'.
Date: Fri, 23 Nov 2007 17:50:14 +0100 [thread overview]
Message-ID: <474704C6.40505@cheapnet.it> (raw)
In-Reply-To: <E1IvXCh-0001co-ST@host-192-168-0-1-bcn-london>
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
parent reply other threads:[~2007-11-23 16:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <E1IvXCh-0001co-ST@host-192-168-0-1-bcn-london>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=474704C6.40505@cheapnet.it \
--to=paradox@cheapnet.it \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.