[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V8 14/14] Allow to provide inital TPM state
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH V8 14/14] Allow to provide inital TPM state |
Date: |
Thu, 1 Sep 2011 22:01:08 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Sep 01, 2011 at 09:10:24PM +0300, Michael S. Tsirkin wrote:
> Do we really have to hand-craft file reading?
> How large is TPMPROP_TPM_MAX_NV_SPACE?
> If not too large, we can just allocate that
> and do a single fread call?
>
> Or, we rely on glib now - can we use
> g_io_channel_read_to_end () or something like that?
Or scanf 'a' conversion - it seems to be a gnu extension
but we rely on gcc anyway.