Re: [PATCH v4 11/11] qemu: Add swtpm to emulator cgroup

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

 



On 05/10/2018 05:57 PM, Stefan Berger wrote:
Add the external swtpm to the emulator cgroup so that upper limits of CPU
usage can be enforced on the emulated TPM.

I haven't made any changes to this yet. A possibility would be to put swtpm into its own tpm-emulator cgroup and extend the XML for the TPM to also have 'period' and 'quota':

    <tpm model='tpm-tis'>
      <backend type='emulator'>
        <period>1000</period>
        <quota>500</quota>
      </backend>
    </tpm>

Or we add the following to cputune:

        <tpm_emulator_period>1000</tpm_emulator_period>
        <tpm_emulator_quota>500</tpm_emulator_quota>

The latter would be more consistent, though i would prefer the former.

   Stefan

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux