]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Parse TPM passthrough XML in the domain XML
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 12 Apr 2013 20:55:45 +0000 (16:55 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 12 Apr 2013 20:55:45 +0000 (16:55 -0400)
commit6ecff413e1bb253fdcb0b147ef70382735bf6584
tree273866137ea52dcb36e511123dfe4309c88934c2
parent06ba4bff9157bb3d529f8616cbb2b5c6ad389bbc
Parse TPM passthrough XML in the domain XML

Parse the domain XML with TPM passthrough support.
The TPM passthrough XML may look like this:

    <tpm model='tpm-tis'>
      <backend type='passthrough'>
        <device path='/dev/tpm0'/>
      </backend>
    </tpm>

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Tested-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms