From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAWAw-0004Ck-Re for qemu-devel@nongnu.org; Thu, 03 Jan 2008 14:56:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAWAs-00046i-Ld for qemu-devel@nongnu.org; Thu, 03 Jan 2008 14:56:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAWAs-00046T-Gk for qemu-devel@nongnu.org; Thu, 03 Jan 2008 14:56:18 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JAWAs-0003Ab-3h for qemu-devel@nongnu.org; Thu, 03 Jan 2008 14:56:18 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m03JtoWV002713 for ; Thu, 3 Jan 2008 14:55:51 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m03Jtor4438078 for ; Thu, 3 Jan 2008 14:55:50 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m03JtoCa024520 for ; Thu, 3 Jan 2008 14:55:50 -0500 Date: Thu, 3 Jan 2008 13:55:42 -0600 From: Ryan Harper Subject: Re: [Qemu-devel] [PATCH 2 of 3] Optionally link against libuuid if present Message-ID: <20080103195542.GT23913@us.ibm.com> References: <115f40a4994be1d5b44e.1197403732@localhost.localdomain> <5b31733c0712111319s2109e935o19c9d51d091a4056@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b31733c0712111319s2109e935o19c9d51d091a4056@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Filip Navara Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org * Filip Navara [2007-12-11 15:29]: > Hi Ryan & others, > > now I have been holding a SMBIOS patch on my hard disk for way to long it > seems. I used a different approach from yours, so I decided to publish it > for review or further ideas. What I did was to modify the bochs bios to > produce the SMBIOS tables and I get the UUID using VMware backdoor port from > the virtual machine. > > Attached are just the changed files, creating a patch will take a while > because it's against VERY OLD version of the sources. Filip, Thanks for posting this. I agree with Fabrice that doing the SMBIOS tables in rombios is a better approach. The rombio32.c file you included didn't look that old to me; it has a CVS release tag of: 'rombios32.c,v 1.11 2007/08/03 13:56:13' AFAICT, it looks like a straight-forward SMBIOS implementation. The only thing worth adding to yours is the BIOS release date string in the type 0 table. Setting this date to something newer than typical CONFIG_ACPI_BLACKLIST_YEAR value (2000 in Gutsy's kernels) lets the kernel enable ACPI features (like power-off). Any idea on when you might have a patch that I can test? -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com