From: "Christian Limpach" Subject: Re: [PATCH][vTPM] 3/3: TPM device model for qemu dm Date: Tue, 22 Aug 2006 09:42:05 +0100 Message-ID: <3d8eece20608220142w314a2502g95892c7fbfa495f3@mail.gmail.com> References: <1156171860.8371.39.camel@941e-2.watson.ibm.com> Reply-To: Christian.Limpach@cl.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1156171860.8371.39.camel@941e-2.watson.ibm.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: safford@watson.ibm.com, xen-devel , christian.limpach@xensource.com List-Id: xen-devel@lists.xenproject.org On 8/21/06, Stefan Berger wrote: > This patch adds a TPM device model to the qemu dm for fully virtualized > VMs. It is enabled in the VM only if the user requests a TPM device in > the vm configuration file using the 'vtpm=[...]' line. It enables the > qemu device model command line with a 'vtpm_instance ' > parameter. Isn't the vtpm instance stored in xenstore anyway? If so, then please add code to ioemu's xenstore.c to read it from there instead of adding a command line switch. We're moving away from command line switches for device configuration. Minor nitpicks: - don't use extern to access global variables, add them to vl.h instead. - add tpm.c to VL_OBJS on a separate line, makes merging it much easier. christian > > Signed-off-by: David Safford > Signed-off-by: Stefan Berger > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > >