From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmjIh-0004AR-Pn for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:42:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmjIc-00082k-Kf for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:42:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmjIc-00082O-GB for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:42:14 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 23A6AB5997 for ; Mon, 27 Apr 2015 13:42:14 +0000 (UTC) Date: Mon, 27 Apr 2015 15:42:11 +0200 From: "Michael S. Tsirkin" Message-ID: <20150427153841-mutt-send-email-mst@redhat.com> References: <1430133591-6197-1-git-send-email-ghammer@redhat.com> <1430133591-6197-2-git-send-email-ghammer@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430133591-6197-2-git-send-email-ghammer@redhat.com> Subject: Re: [Qemu-devel] [PATCH V15 1/5] docs: vm generation id device's description List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gal Hammer Cc: imammedo@redhat.com, qemu-devel@nongnu.org On Mon, Apr 27, 2015 at 02:19:47PM +0300, Gal Hammer wrote: > Signed-off-by: Gal Hammer > --- > docs/specs/vmgenid.txt | 35 +++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 docs/specs/vmgenid.txt > > diff --git a/docs/specs/vmgenid.txt b/docs/specs/vmgenid.txt > new file mode 100644 > index 0000000..86ce6ab > --- /dev/null > +++ b/docs/specs/vmgenid.txt > @@ -0,0 +1,35 @@ > +VIRTUAL MACHINE GENERATION ID > +============================= > + > +Copyright (C) 2014 Red Hat, Inc. > + > +This work is licensed under the terms of the GNU GPL, version 2 or later. > +See the COPYING file in the top-level directory. > + > +=== > + > +The VM generation ID (vmgenid) device is an emulated device which > +exposes a 128-bit, cryptographically random, integer value identifier. > +This allows management applications (e.g. libvirt) to notify the guest > +operating system when the virtual machine is executed with a different > +configuration (e.g. snapshot execution or creation from a template). > + > +This is specified on the web at: http://go.microsoft.com/fwlink/?LinkId=260709 > + > +--- > + > +The vmgenid device is a sysbus device with the following ACPI ID: > +"QEMU0002". > + > +The device adds a "vmgenid.uuid" property, which can be modified using > +the -global command line argument or the QMP interface. > + > +The device uses a fixed memory resource: 0xfedf0000-0xfedf000f to store > +the GUID's buffer. > + > +According to the specification, any change to the GUID executes an > +ACPI notification. The vmgenid device triggers the GPE._E00 which > +executes the ACPI Notify operation. > + > +Although not specified in Microsoft's document, it is assumed that the > +device is expected to use the little-endian system. host? guest? Please fix that. UUID is just a byte array, no need to assume endian-ness anywhere. > -- > 2.1.0