From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2BRo-0007lS-HI for qemu-devel@nongnu.org; Tue, 11 Dec 2007 15:11:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2BRk-0007fZ-QZ for qemu-devel@nongnu.org; Tue, 11 Dec 2007 15:11:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2BRk-0007fG-JO for qemu-devel@nongnu.org; Tue, 11 Dec 2007 15:11:16 -0500 Received: from e34.co.us.ibm.com ([32.97.110.152]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J2BRk-0002Co-6n for qemu-devel@nongnu.org; Tue, 11 Dec 2007 15:11:16 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id lBBK9Z0W015673 for ; Tue, 11 Dec 2007 15:09:35 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lBBK9XvF148416 for ; Tue, 11 Dec 2007 13:09:34 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id lBBK9WGQ020498 for ; Tue, 11 Dec 2007 13:09:32 -0700 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-Id: Date: Tue, 11 Dec 2007 14:08:50 -0600 From: Ryan Harper Subject: [Qemu-devel] [PATCH 0 of 3] Add SMBIOS/DMI table generation to PC machine Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm-devel@lists.sourceforge.net This patchset introduces SMBIOS/DMI table generation to qemu for PC machines. The intial patch includes all changes needed to create the tables and load them into memory. This patch depends on libuuid. The subsequent patches detect for libuuid and optionally link to the library if present. The final patch adds a -uuid option for a user to specify their own uuid. These patches should apply against qemu-cvs. Tested on target x86_64-softmmu. Updates: - moved smbios.o into i386 target section - removed open segment in hw/pc.c and moved variable declaration - removed some uneeded externs from smbios.c - added uuid_parse implementation allowing -uuid to be available with or without linking against libuuid. - reduced the number of CONFIG_UUID defines Signed-off-by: Ryan Harper 7 files changed, 848 insertions(+), 11 deletions(-) Makefile.target | 9 configure | 26 ++ hw/pc.c | 45 ++++ smbios.c | 584 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- smbios_types.h | 182 +++++++++++++++++ sysemu.h | 5 vl.c | 8