qemu: Check for iotune_max support properly
qemu: Check for iotune_max support properly

Commit d506a51aeb2a7a7b0c963f760e32b94376ea7173 meant to check for
QEMU_CAPS_DRIVE_IOTUNE_MAX, but checked for QEMU_CAPS_DRIVE_IOTUNE
instead.  That's clearly visible from the diff, but it got in.  Because
of that, we were supplying information unknown for QEMU if it wasn't new
enough and we couldn't even properly handle the error, leading to
"Unexpected error".  Also iops_size came at the same time with all the
other "_max" options, so check whether we're not setting that either if
QEMU_CAPS_DRIVE_IOTUNE_MAX is not supported.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1224053

Signed-off-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

crobinso/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,libvirt/libvirt,rlaager/libvirt,agx/libvirt,olafhering/libvirt,taget/libvirt,zippy2/libvirt,datto/libvirt,agx/libvirt,andreabolognani/libvirt,olafhering/libvirt,rlaager/libvirt,taget/libvirt,jardasgit/libvirt,eskultety/libvirt,rlaager/libvirt,nertpinx/libvirt,jardasgit/libvirt,agx/libvirt,zippy2/libvirt,taget/libvirt,taget/libvirt,zippy2/libvirt,datto/libvirt,nertpinx/libvirt,datto/libvirt,fabianfreyer/libvirt,zippy2/libvirt,datto/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jardasgit/libvirt,andreabolognani/libvirt,datto/libvirt,libvirt/libvirt,agx/libvirt,rlaager/libvirt,rlaager/libvirt,eskultety/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,crobinso/libvirt,olafhering/libvirt,VenkatDatta/libvirt,agx/libvirt,jfehlig/libvirt,crobinso/libvirt,libvirt/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,eskultety/libvirt,andreabolognani/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,taget/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,eskultety/libvirt,VenkatDatta/libvirt,olafhering/libvirt