[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] vTPM support in libvirt

On Thu, Jun 25, 2009 at 09:16:26AM +0100, Andreas Sommer wrote:
> I'm wondering if there will be vTPM support in libvirt in the near 
> future?! Xen does support it already with the configuration "vtpm = 
> ['instance=1,backend=0']", for example.
> So it would be great if the libvirt XML format supported it, too... For 
> example like this:
> <devices>
>    <vtpm instance="1" backend="xxx" />
> </devices>
> Both attributes are optional. The backend attribute is a VM ID (on Xen, 
> only zero for dom0 is supported) and could be implemented as a UUID?!

I'd just ignore 'backend' for now - none of the other existing devices
suport anything other than dom0 as the backend, so its no loss to assume
dom0 for TPM too.

What is 'instance' ?

For element I'd prefer to just call it '<tpm>' - the 'v' is redundant
since every device is virtual here :-)

> What do you think? Are there any efforts to introducing that?

No one has ever asked for it before, which is why we've not supported
this to date. I don't have any objection to supporting it, so patches
would be welcomed.

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]