[libvirt] [PATCH v4 01/11] Add QMP probing for TPM
Daniel P. Berrange
berrange at redhat.com
Thu Apr 11 15:16:27 UTC 2013
On Fri, Apr 05, 2013 at 10:05:52AM -0400, Stefan Berger wrote:
> Probe for QEMU's QMP TPM support by querying the lists of
> supported TPM models (query-tpm-models) and backend types
> (query-tpm-types).
>
> The setting of the capability flags following the strings
> returned from the commands above is only provided in the
> patch where domain_conf.c gets TPM support due to dependencies
> on functions only introduced there.
>
> Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>
> Reviewed-by: Corey Bryant <coreyb at linux.vnet.ibm.com>
> Tested-by: Corey Bryant <coreyb at linux.vnet.ibm.com>
>
> ---
> src/qemu/qemu_capabilities.c | 2
> src/qemu/qemu_capabilities.h | 3 +
> src/qemu/qemu_monitor.c | 44 +++++++++++++++++++++
> src/qemu/qemu_monitor.h | 6 ++
> src/qemu/qemu_monitor_json.c | 90 +++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_json.h | 8 +++
> 6 files changed, 153 insertions(+)
ACK,
but extra bonus points if you write a patch to extend tests/qemumonitorjsontest.c
to validate this handling.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list