[PATCH v2 2/2] qemu: tpm: Extend TPM domain XML with PCR banks to activate

Stefan Berger stefanb at linux.ibm.com
Wed Nov 3 13:07:11 UTC 2021


On 11/2/21 05:57, Daniel P. Berrangé wrote:
> On Tue, Nov 02, 2021 at 10:38:05AM +0100, Michal Prívozník wrote:
>
> Yes, the golden rule of XML design is that you should not have to write
> a second parser to interpret the value of an attribute / element. Any
> structure should be represented in the XML design itself.

Like this?

     <tpm model='tpm-tis'>
       <backend type='emulator' version='2.0'>

         <active_pcr_banks>

            <sha256/>

            <sha384/>

         </active_pcr_banks>

       </backend>

     </tpm>

    Regards,

   Stefan






More information about the libvir-list mailing list