[libvirt] [PATCH] [docs] Fix sample TPM XML

Ján Tomko jtomko at redhat.com
Wed Jun 26 11:02:51 UTC 2013


On 06/26/2013 12:53 PM, Stefan Berger wrote:
> Fix an error in the sample TPM XML.
> 
> Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>
> 
> ---
>  docs/formatdomain.html.in |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: libvirt-acl/docs/formatdomain.html.in
> ===================================================================
> --- libvirt-acl.orig/docs/formatdomain.html.in
> +++ libvirt-acl/docs/formatdomain.html.in
> @@ -4735,7 +4735,7 @@ qemu-kvm -net nic,model=? /dev/null
>    <devices>
>      <tpm model='tpm-tis'>
>        <backend type='passthrough'>
> -        <backend path='/dev/tpm0'/>
> +        <device path='/dev/tpm0'/>
>        </backend>
>      </tpm>
>    </devices>
> 

ACK

A few lines below the source element is mentioned instead of device, you might
want to fix that too:

backend type='passthrough'

    This backend type requires exclusive access to a TPM device on the host.
An example for such a device is /dev/tpm0. The filename is specified as path
attribute of the source element. If no file name is specified then /dev/tpm0
is automatically used.

Jan




More information about the libvir-list mailing list