]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Move disk index validation closer to usage
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Nov 2017 09:41:55 +0000 (10:41 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 Nov 2017 13:29:37 +0000 (14:29 +0100)
commitdfd300a71d30ade311eafba5f106b967662bc615
treeaa76a5cede9bea5c0653a6aabd9635c5127633e9
parentb60ce7b1226fccc2e3f395b81e685f39e6e51128
qemu: command: Move disk index validation closer to usage

The disk index validation is used only in very specific cases and does
not need to be performed otherwise. Move it out of the global check into
the usage place.
src/qemu/qemu_command.c