From: David Vrabel <david.vrabel@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>,
David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCHv1 0/5] tools: rework VM Generation ID
Date: Thu, 22 May 2014 11:44:28 +0100 [thread overview]
Message-ID: <537DD50C.5070206@citrix.com> (raw)
In-Reply-To: <1400688425.7272.34.camel@kazak.uk.xensource.com>
On 21/05/14 17:07, Ian Campbell wrote:
> On Wed, 2014-05-21 at 14:21 +0100, David Vrabel wrote:
>> This series reworks the VM Generation ID to a) conform to the
>> published spec from Microsoft; b) simplify the save/restore code; and
>> c) extend the libxl API to allow toolstacks to use this feature.
>>
>> The VM Generation ID must be regenerated with a new random ID after
>> certain VM operations. For xl, a new ID is required when restoring
>> from a saved image (but not after a migration, reboot, pause/unpause).
>
> Does reboot include shutdown and recreate? i.e. if I do
> xl shutdown domain
> xl create domain.cfg
>
> what should happen?
It may use the same ID.
> If we have to preserve then that is going to be problematic for xl,
> since:
> xl create domain.cfg
ID = A
> xl save domain saved
> xl restore saved # now the genid has changed
ID = B
> xl shutdown domain
> xl cr domain.cfg
ID = B
> has nowhere to store the new genid, even if domain.cfg were to contain
> the original one.
Yes.
I think I might just get xl to generate a new ID on every domain create
and restore/migrate. This will give the correct behaviour where it
matter, even if it is sub-optimal.
I doubt anyone is running a Windows 2012 domain controller with xl anyway.
David
next prev parent reply other threads:[~2014-05-22 10:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 13:21 [PATCHv1 0/5] tools: rework VM Generation ID David Vrabel
2014-05-21 13:21 ` [PATCH 1/5] docs: update docs for the ~/platform/generation-id key David Vrabel
2014-05-21 13:21 ` [PATCH 2/5] hvm: add HVM_PARAM_VM_GENERATION_ID_ADDR David Vrabel
2014-05-21 13:45 ` Andrew Cooper
2014-05-21 13:21 ` [PATCH 3/5] tools/hvmloader: add helper functions to get/set HVM params David Vrabel
2014-05-21 13:21 ` [PATCH 4/5] libxc, libxl, hvmloader: strip out outdated VM generation ID implementation David Vrabel
2014-05-21 13:21 ` [PATCH 5/5] libxl: add libxl_vm_generation_id_set() David Vrabel
2014-05-21 16:10 ` Ian Campbell
2014-05-21 16:27 ` Paul Durrant
2014-05-21 16:07 ` [PATCHv1 0/5] tools: rework VM Generation ID Ian Campbell
2014-05-22 10:44 ` David Vrabel [this message]
2014-05-21 16:13 ` Ian Jackson
2014-05-21 16:18 ` Ian Jackson
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=537DD50C.5070206@citrix.com \
--to=david.vrabel@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).