Re: [PATCH 6/8] qemu_domain: Move TPM post parse code into qemuDomainTPMDefPostParse()

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

 



On Mon, Jul 18, 2022 at 11:30:48 +0200, Michal Privoznik wrote:
> In the qemuDomainDefPostParse() we aim to fill in top level
> values, which require overall view of domain, or those parts of
> configuration that are not a device in domain XML (e.g. vCPUs).
> However, inside of qemuDomainDefTPMsPostParse(), which is called
> from aforementioned function, we do two tings:
> 
>   1) fill in missing info (TPM version), and
>   2) validate TPM definition.
> 
> Now, if 1) is moved into qemuDomainTPMDefPostParse() (the device
> post parse callback), then 2) can be moved into validation step.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_domain.c | 28 ++++++++++++++--------------

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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