From: Dario Faggioli <dario.faggioli@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] tools/mfn-dump: Fixes to 'dump-p2m'
Date: Wed, 30 Apr 2014 00:35:17 +0200 [thread overview]
Message-ID: <1398810917.16933.34.camel@Solace> (raw)
In-Reply-To: <535FD5B5.30208@citrix.com>
[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]
On mar, 2014-04-29 at 17:39 +0100, Andrew Cooper wrote:
> The top bit of the type has nothing to do with mappings, or certainly
> nothing that I am aware of, having successfully rewritten PV migration
> from scratch.
>
> The guest can still have mappings to its pinned pagetables, which
> would have the top bit of the type set.
>
> In xc_domain_save.c, this macro is used 4 times. 3 are used on mfns
> and 1 is used on a type (for a bit of debugging code which appears
> dead anyway). I expect noone has every tried migrating a PV domain
> whose pages are located in mfns with the 44th bit set.
>
Right. The fact that such macro is present in xc_domain_save.c was the
exact region why I was asking. :-)
> So by bogus, I mean the macro itself, and all uses of it.
>
> My best guess is that is some vestigial code left over from a previous
> way of doing things, although I didn't encounter anything related to
> this in code archaeology I performed when trying to work out why the
> legacy migration did certain things the way they did.
>
I see. Makes sense, thanks for clearing my doubts. :-)
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2014-04-29 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 21:06 [PATCH] tools/mfn-dump: Fixes to 'dump-p2m' Andrew Cooper
2014-04-29 15:25 ` Dario Faggioli
2014-04-29 16:39 ` Andrew Cooper
2014-04-29 22:35 ` Dario Faggioli [this message]
2014-05-02 13:04 ` Ian Campbell
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=1398810917.16933.34.camel@Solace \
--to=dario.faggioli@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=xen-devel@lists.xen.org \
/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.