Received: from eggs.gnu.org ([2001:4830:134:3::10]:32860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSbEd-00080u-86 for qemu-devel@nongnu.org; Mon, 02 Mar 2015 20:02:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSbEY-0005Up-E0 for qemu-devel@nongnu.org; Mon, 02 Mar 2015 20:02:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSbEY-0005Ub-7U for qemu-devel@nongnu.org; Mon, 02 Mar 2015 20:02:50 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2312mYM008059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 2 Mar 2015 20:02:48 -0500 Date: Tue, 3 Mar 2015 12:03:26 +1100 From: David Gibson Message-ID: <20150303120326.4c9e7298@voom.fritz.box> In-Reply-To: <20150302210622.GA5028@redhat.com> References: <1424884133-323-1-git-send-email-imammedo@redhat.com> <1424884133-323-4-git-send-email-imammedo@redhat.com> <20150301150933.GA27190@redhat.com> <20150302180543.2b19cae4@nial.brq.redhat.com> <20150302210622.GA5028@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Zpi6nhXY=OmZM=sMCCIJcDN"; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] [PATCH V13 3/4] pc: add a Virtual Machine Generation ID device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: ghammer@redhat.com, Igor Mammedov , Laszlo , qemu-devel@nongnu.org --Sig_/Zpi6nhXY=OmZM=sMCCIJcDN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 2 Mar 2015 22:06:22 +0100 "Michael S. Tsirkin" wrote: > On Mon, Mar 02, 2015 at 06:05:43PM +0100, Igor Mammedov wrote: > > On Sun, 1 Mar 2015 16:09:33 +0100 > > "Michael S. Tsirkin" wrote: > >=20 > > > On Wed, Feb 25, 2015 at 05:08:52PM +0000, Igor Mammedov wrote: > > > > Based on Microsoft's sepecifications (paper can be dowloaded from > > > > http://go.microsoft.com/fwlink/?LinkId=3D260709), add a device > > > > description to the SSDT ACPI table and its implementation. > > > >=20 > > > > The GUID is set using "vmgenid.uuid" property. > > > >=20 > > > > Example of using vmgenid device: > > > > -device vmgenid,id=3DFOO,uuid=3D"324e6eaf-d1d1-4bf6-bf41-b9bb6c91f= b87" > > >=20 > > > If you do this, doesn't windows then prompt for a driver? > > it doesn't since PCI_CLASS_MEMORY_RAM is displayed as driver less=20 > > "PCI standard RAM Controller" binding in device manager. > >=20 > > There was an issue with > > virtio balloon device + pseries firmware + kernel bug > > http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg04704.html > > but it shouldn't be an issue for x86 targets with which device is > > supposed to be used. > > CCing David and Laszlo in case UEFI might do some crazy stuff like > > pseries firmware. >=20 > I have to say, if it's not RAM, using PCI_CLASS_MEMORY_RAM seems > wrong. Can't we tag it in ACPI in some way? I agree. PCI_CLASS_MEMORY_RAM means something quite specific, and this device isn't it. AFAICT, this would break pseries guests exactly like the balloon device did before we removed the bogus class code. I'm lacking context to see what the purpose of this device is, and whether we could ever want something similar on ppc64. > I guess I can somewhat buy 0580 "other memory controller". >=20 > I think we also want some space for future expansion > in this device. > How about we reserve first 4K, and set bit 0 to mean > "has uuid"? >=20 > --=20 > MST --=20 David Gibson Senior Software Engineer, Virtualization, Red Hat --Sig_/Zpi6nhXY=OmZM=sMCCIJcDN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU9QheAAoJEGw4ysog2bOSCnYP/Ax9vVrSyyKfOtQJlQauzBvc XsKnPaDrco8U1WlXyhwzMMLXPh7Zy8UU8gxuL3A26I1RhJ8ueNwD7BER0M0C/B2H vRsbSYMHe/RXt66mfQ3r20besSoif8ZJHL/vhxaKSUhwJq6tyqLdIwmf36WkHhrb Lx9ll+N7ymYNMh+0fZXRVnq01axh90p1ttVqS/nZqzA6A4CXXelhff8SdKo/8kbN 8Bki7na7JZdhtTJ1xj3x4YNeLNLiwkRHM3x+iRv5aBELtNlT4s089LqnmYSmPckq zuKpxXcknSMlVl9cL8YVmzijvdzjmbkPCmc76I+9sSgWMHDSgZPJLFUizFA9elFB 1UxJwbXhDdw3iNxI20zZYl8H3UyCYqB/uXQExSVXluo/BSJhTExY95oIRKiQTGj2 JpUZLesoocac8U0/udsXY6HKAYv3fFuZTWOF73YGt3MZCffzbYNPauAQ8u1pdID/ rneU4U1V8X6bXAwA7ts1AWzyr9x36192w04pWRHpur0J/2N9fksEbq7N6TtMFyvU ca+ra+ZIR7xu8EAWyQIeFPMflmXiwQNWwmgw1ueVkvGzl/QG+5YJHJvF8PmyyQK5 6m0/DM4fnN7hdnUspVzScM+sT4iw6csHhZk+krndjmMtTyIaqvw8rAdxOnijRnmn wusLD4NFtzzZHavOHzlM =aDzP -----END PGP SIGNATURE----- --Sig_/Zpi6nhXY=OmZM=sMCCIJcDN--