From: Ian Campbell Subject: Re: [PATCH 1/6] docs: update docs for the ~/platform/generation-id key Date: Tue, 10 Jun 2014 11:25:07 +0100 Message-ID: <1402395907.1250.16.camel@kazak.uk.xensource.com> References: <1401801340-6196-1-git-send-email-david.vrabel@citrix.com> <1401801340-6196-2-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WuJF5-00015A-So for xen-devel@lists.xenproject.org; Tue, 10 Jun 2014 10:25:24 +0000 In-Reply-To: <1401801340-6196-2-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: xen-devel@lists.xenproject.org, Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2014-06-03 at 14:15 +0100, David Vrabel wrote: > Signed-off-by: David Vrabel Acked-by: Ian Campbell AIUI (some of) the things said here are only true after this series has been applied, which is fine but means I won't pick it up now independent of the rest. If you wanted to merge it into the patch which actually makes the changes or push it to the end then that would be fine, or you are welcome to just leave it here, no big deal. Ian. > --- > docs/misc/xenstore-paths.markdown | 24 ++++++++++++++++-------- > 1 file changed, 16 insertions(+), 8 deletions(-) > > diff --git a/docs/misc/xenstore-paths.markdown b/docs/misc/xenstore-paths.markdown > index 70ab7f4..22fcfaa 100644 > --- a/docs/misc/xenstore-paths.markdown > +++ b/docs/misc/xenstore-paths.markdown > @@ -166,11 +166,6 @@ use the xenstore-based protocol instead (see ~/control/shutdown, > below) even if the guest has advertised support for the event channel > protocol. > > -#### ~/hvmloader/generation-id-address = ADDRESS [r,HVM,INTERNAL] > - > -The hexadecimal representation of the address of the domain's > -"generation id". > - > #### ~/hvmloader/allow-memory-relocate = ("1"|"0") [HVM,INTERNAL] > > If the default low MMIO hole (below 4GiB) is not big enough for all > @@ -193,9 +188,22 @@ Various platform properties. > > #### ~/platform/generation-id = INTEGER ":" INTEGER [HVM,INTERNAL] > > -Two 64 bit values that represent the Windows Generation ID. > -Is used by the BIOS initializer to get this value. > -If not present or "0:0" (all zeroes) device will not be present to the machine. > +The upper and lower 64-bit words of the 128-bit VM Generation ID. > + > +This key is used by hvmloader to create the ACPI VM Generation ID > +device. It initialises a 16 octet region of guest memory with this > +value. The guest physical address of this region is saved in the > +HVM_PARAM_VM_GENERATION_ID_ADDR HVM parameter. > + > +If this key is not present, is empty, or is all-zeros ("0:0") then the > +ACPI device is not created. > + > +When restoring a guest, the toolstack may (in certain circumstances) > +need generate a new random generation ID and write it to guest memory > +at the guest physical address in HVM_PARAM_VM_GENERATION_ID_ADDR. > + > +See Microsoft's "Virtual Machine Generation ID" specification for the > +circumstances where the generation ID needs to be changed. > > ### Frontend device paths >