All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paradox <paradox@cheapnet.it>
To: xen-devel@lists.xensource.com
Subject: map_domain_va and map problem with address mapped.
Date: Wed, 14 Nov 2007 15:05:08 +0100	[thread overview]
Message-ID: <473B0094.2060701@cheapnet.it> (raw)
In-Reply-To: <E1IsHX4-0005um-3j@host-192-168-0-1-bcn-london>

Hi

I have some problem about access a guest location memory using 
map_domain_va function. My situation is next:

I have a simple program running in domU, I retrieve a guest virtual 
address for a struct value and I pause the domain (when I pause the domU 
the interested program still run...).

So I call map_domain_va function that call map_domain_va_pae. It seems 
that everything works properly because I obtain an address (PT walk 
don't fails...), but If I try to access this address I find a "strange" 
value.

For example:

domU guest address: 0xbfd38838 a location that contains an int, for 
example 10.

Address mapped returned by map_domain_va: 0xb7fac838

If I access the pointer returned above I obtain: 0xbfd38858 (very 
similar to domU guest address...). Perhaps I did not understand 
something, but I should not obtain 10?

Tnx in advance.

Best Regards

       reply	other threads:[~2007-11-14 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1IsHX4-0005um-3j@host-192-168-0-1-bcn-london>
2007-11-14 14:05 ` Paradox [this message]
2007-12-03  4:13   ` map_domain_va and map problem with address mapped Mark Williamson

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=473B0094.2060701@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.