[PATCH v2 1/4] qemu_command: Don't validate accelerator when building cmd line

Peter Krempa pkrempa at redhat.com
Mon Nov 22 09:07:05 UTC 2021


On Fri, Nov 05, 2021 at 10:35:17 +0100, Michal Privoznik wrote:
> The domain accelerator was validated in qemuValidateDomainDef()
> which calls virQEMUCapsIsVirtTypeSupported() which reports proper
> error if QEMU is not capable of KVM/TCG. There is no point in
> doing the validation again when building command line.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_command.c | 9 +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list