Re: [PATCH] qemuxml2argvtest: Don't re-parse and re-generate commandline for QAPI schema validation

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

 



On Wed, Oct 19, 2022 at 05:28:19PM +0200, Peter Krempa wrote:
> The removal of the special internal flag for '-netdev' validatition now
> allows us to use the same virCommand object for validation of the
> schema.
> 
> Pass it into the validator instead of re-parsing and re-generating
> everything.
> 
> This improved the runtime of qemuxml2argvtest by ~25% on my box.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
Lovely.

Reviewed-by: Erik Skultety <eskultet@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