]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_command: Don't validate accelerator when building cmd line
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 5 Nov 2021 08:33:45 +0000 (09:33 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 22 Nov 2021 12:06:54 +0000 (13:06 +0100)
commit69f2f632994c8f8b51f0d0e4be0f674054619654
tree633653f05d80c9c67a62a0259b8d0783bb5a9649
parentd5643e73daaec93011a7455f6088e52000e1ab0c
qemu_command: Don't validate accelerator when building cmd line

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@redhat.com>
Tested-by: Kashyap Chamarthy <kchamart@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c