]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuValidateDomainSmartcardDef: Move validation of smartcard count
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Oct 2021 14:49:34 +0000 (16:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 18:54:53 +0000 (20:54 +0200)
commit1b61610784977d58948214a0825edb4076e97ba3
tree9d3e67fc82c95cbdfb9cc8f533aa56715b81611c
parentb4026d9509bccf8a1ec22572fa257cca64a7e6ce
qemuValidateDomainSmartcardDef: Move validation of smartcard count

Move it into the validator. Note that the placement into the device
validation part is intentional so that it also covers hotplug code
paths.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_validate.c