Re: [PATCH] qemu: Move CPU validation out of PostParse

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

 



On Wed, Aug 03, 2022 at 02:24:08PM +0200, Michal Privoznik wrote:
> The qemuDomainDefCPUPostParse() does a bit more than filling in
> missing info. It also validates CPU cache configuration. Move
> that code into qemuValidateDomainDefCpu() where the code fits
> better.
> 
> And since I need to fix indentation of existing code in
> qemuValidateDomainDefCpu(), I'm taking this opportunity and move
> error messages onto single line. Interestingly, this uncovers a
> bug we have in sc_prohibit_diagnostic_without_format syntax-check
> rule, because previously a virReportError() with a message
> spawned over three lines was not caught but not it is. But
> trying to understand that regex is a job for another time.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
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