From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyOvO-0007r9-K6 for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:50:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyOvJ-0007qA-N6 for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:50:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyOvJ-0007pm-Gc for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:50:09 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB9Ho8CP029402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 9 Dec 2014 12:50:08 -0500 Message-ID: <5487364F.9070000@redhat.com> Date: Tue, 09 Dec 2014 10:50:07 -0700 From: Eric Blake MIME-Version: 1.0 References: <1418141689-10828-1-git-send-email-ghammer@redhat.com> <1418141689-10828-2-git-send-email-ghammer@redhat.com> In-Reply-To: <1418141689-10828-2-git-send-email-ghammer@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NoL43066GKdNe8RgFP9Xbj0JGm3uUMk65" Subject: Re: [Qemu-devel] [PATCH V9 1/3] docs: vm generation id device's description List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gal Hammer , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NoL43066GKdNe8RgFP9Xbj0JGm3uUMk65 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/09/2014 09:14 AM, Gal Hammer wrote: > Signed-off-by: Gal Hammer >=20 > --- > docs/specs/vmgenid.txt | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 docs/specs/vmgenid.txt >=20 > diff --git a/docs/specs/vmgenid.txt b/docs/specs/vmgenid.txt > new file mode 100644 > index 0000000..9a09d11 > --- /dev/null > +++ b/docs/specs/vmgenid.txt > @@ -0,0 +1,27 @@ > +VIRTUAL MACHINE GENERATION ID Just because we aren't consistent doesn't mean that new files can get away with not listing a license/copyright notice. Check some of the other recent doc additions for ideas on how to do it concisely. > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > + > +The VM generation ID (vmgenid) device is an emulated device which > +expose a 128-bit, cryptographically random, integer value identifier. s/expose/exposes/ > +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). > + > +Specs is on the web at: http://go.microsoft.com/fwlink/?LinkId=3D26070= 9 s/Specs is/This is specified/ > + > +--- > + > +The vmgenid device is a sysbus device with the following ACPI ID: > +"QEMU0002". > + > +The device adds a "vmgenid.uuid" property, which can be modifed using s/modifed/modified/ > +the -global command line argument or the QMP interface. > + > +The device uses a fixed memory resource: 0xfedf0000-0xfedf0003. The What endianness is the memory resource? Is 4 bytes sufficient, or should it be 8 bytes because it holds a pointer? Or is the size dependent on the guest hardware? > +guest is expected to write the physical address of the GUID's buffer > +to that memory resource. This allows the device to modify the GUID if > +requested by the management application. What endianness is the GUID 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. >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --NoL43066GKdNe8RgFP9Xbj0JGm3uUMk65 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUhzZPAAoJEKeha0olJ0Nq1gYH+wYB0OEAiRQgD4SdhAs1K1tn 5PGB+vh3fBuZMr/ZO2OfJF9VHPGuwqjAYfgsV1CNiPCXMjDHVVecd1JmGJ3iw9fL 72gptw2Co6N1QvHuDdUG/uOV/yUV/NjzDQJc7ntFQMW2m2rOT1xG9I9AlsT944aX CUhKBe42n+ezrN1RHKUV+7J32dyXolZnMlSMiY4kx3COzc+y0e2PisyRTK+aHeyP v/pN4skqO8VvIDSAZ9hcdyTrlE5biEKAH+YjaiAP5y+lFPFNNO9S+eM13BsQruUm B4QjpCLUYtHUXFCnmD7larYY5o94wR6/Hm6Tz+CXoOlfBHqb2QHSt05Al+hJ5MY= =9i6m -----END PGP SIGNATURE----- --NoL43066GKdNe8RgFP9Xbj0JGm3uUMk65--