Re: [Qemu-devel] [PATCH 4/4] Qemu-Xen-vTPM: QEMU machine class is initialized before tpm_init()

2014-11-06 Thread Xu, Quan
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, November 03, 2014 8:22 PM > To: Xu, Quan; qemu-devel@nongnu.org > Cc: aligu...@amazon.com; xen-de...@lists.xen.org > Subject: Re: [PATCH 4/4] Qemu-Xen-vTPM: QEMU machin

Re: [Qemu-devel] [PATCH 4/4] Qemu-Xen-vTPM: QEMU machine class is initialized before tpm_init()

2014-11-03 Thread Paolo Bonzini
On 02/11/2014 07:39, Quan Xu wrote: > make sure QEMU machine class is initialized and QEMU has registered > Xen stubdom vTPM driver when call tpm_init() [vl.c] > > Signed-off-by: Quan Xu > --- > vl.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/vl.c

[Qemu-devel] [PATCH 4/4] Qemu-Xen-vTPM: QEMU machine class is initialized before tpm_init()

2014-11-02 Thread Quan Xu
make sure QEMU machine class is initialized and QEMU has registered Xen stubdom vTPM driver when call tpm_init() [vl.c] Signed-off-by: Quan Xu --- vl.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/vl.c b/vl.c index f6b3546..dd437e1 100644 --- a/vl.c +++ b