|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 6/6] Qemu-Xen-vTPM: Add a parameter indicating whether the command that was a selftest
On 04/12/2015 04:50 PM, Stefan Berger wrote: On 04/10/2015 02:59 AM, Quan Xu wrote:and whether it completed successfully. Move tpm_passthrough_is_selftest() intotpm_util.c and rename it to tpm_util_is_selftest(). Signed-off-by: Quan Xu <quan.xu@xxxxxxxxx> --- hw/tpm/Makefile.objs | 2 +- hw/tpm/tpm_passthrough.c | 13 +----------hw/tpm/tpm_util.c | 50 ++++++++++++++++++++++++++++++++++++++++hw/tpm/tpm_xenstubdoms.c | 36 +++++++++++++++++++++++------ include/sysemu/tpm_backend_int.h | 1 + 5 files changed, 82 insertions(+), 20 deletions(-) create mode 100644 hw/tpm/tpm_util.c +#include <dirent.h> + +#include "qemu-common.h" +#include "qapi/error.h" +#include "qemu/sockets.h" +#include "sysemu/tpm_backend.h" +#include "tpm_int.h" +#include "hw/hw.h" +#include "hw/i386/pc.h" +#include "sysemu/tpm_backend_int.h" +#include "tpm_tis.h"Can you reduce the includes to its minimum? Put this into tpm_util.h.
Actually, please put the part that splits out the tpm_util_is_selftest function into tpm_util.c,.h and the changes to the Makefile into a patch before your current patch 3. Stefan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |