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

2021-11-22 Thread Peter Krempa
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 bui

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

2021-11-05 Thread Michal Privoznik
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 --- src/qemu/qemu