From: Mats Petersson <mats.petersson@citrix.com>
To: xen-devel@lists.xen.org
Subject: Re: Image format for an HVM domain
Date: Wed, 14 Nov 2012 14:48:25 +0000 [thread overview]
Message-ID: <50A3AF39.3050107@citrix.com> (raw)
In-Reply-To: <121149b56ff3ce2fa58c8a539828fe3b@helkyn.dyndns.org>
On 14/11/12 14:31, Jean-Yves Migeon (NetBSD) wrote:
> Hi list,
>
> Is there a documentation somewhere where the image format for
> xc_domain_save/_restore is specified, or at least described?
I'm not aware of anything besides the source code itself.
libxc/xc_domain_restore, particularly apply_batch and pagebuf_get_one
are fairly straight forward.
>
> I am looking for one regarding an HVM domU, but can't find any in the
> wiki -- Most notably, I am interested in knowing how the P2M translation
> tables are dumped, in case they are differences from the one for a PV
> domU. Purpose is to add its support to our NetBSD crash(8) program.
>
The main differences between pv and hvm can be found by searching for
"hvm", such as:
region_mfn[i] = hvm ? pfn : ctx->p2m[pfn];
Obviously, xc_domain_save is what produces the output, and will also
contain the corresponding "if (hvm)" and "if (!hvm)" type of
constructions to do things that only happen in PV or HVM guests.
The actual content format is the same, the difference is derived from
"is this PV or HVM".
--
Mats
>
> Cheers,
>
next prev parent reply other threads:[~2012-11-14 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-14 14:31 Image format for an HVM domain Jean-Yves Migeon (NetBSD)
2012-11-14 14:48 ` Mats Petersson [this message]
2012-11-14 16:02 ` 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=50A3AF39.3050107@citrix.com \
--to=mats.petersson@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.