All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: xen-devel@lists.xensource.com
Subject: 32bit libxc  with 64bit guest
Date: Mon, 22 Oct 2007 14:36:46 -0700	[thread overview]
Message-ID: <471D17EE.7090109@oracle.com> (raw)

Hi Folks,
   I am somewhat new to xen, and have been looking into making 32bit libxc
work with 64bit guests which would allow gdbserver on a 32bit dom0 to attach 
to a 64bit guest.

   I have gotten some of the data structures expanded for 32bit, however, I'm
currently trying to figure out the flow of address look up from ioctl down.
Somewhere down this path, I'm getting incorrect results translating a
64bit address. The first lookup (using cr3) returns a value that seems OK, but 
  the l3 look up results in 0x0. I am looking for any help or
high level writeup that might shed some light on  direct_remap_pfn_range()
and below, basically trying to figure out vm_area_struct's, what the dom0 is
trying to fill, why is it going down to pte all the way when i'm just looking
for pml4 (so it appears from libxc:map_domain_va_64().

For 32bit pae, the above works fine.

Thanks a lot,
Mukesh

                 reply	other threads:[~2007-10-22 21:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=471D17EE.7090109@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --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.