qemu_driver: hook up query-cpu-model-comparison
qemu_driver: hook up query-cpu-model-comparison

This command is hooked into the virsh hypervisor-cpu-compare command.
As such, the CPU model XML provided to the command will be compared
to the hypervisor CPU contained in the QEMU capabilities file for the
appropriate QEMU binary (for s390x, this CPU definition can be observed
via virsh domcapabilities).

QMP will report that the XML CPU is either identical to, a subset of,
or incompatible with the hypervisor CPU. s390 can also report that
the XML CPU is a "superset" of the hypervisor CPU. This response is
presented as incompatible, as this CPU model would not be able to run
on the hypervisor.

Signed-off-by: Collin Walling <6a8456d624ba23d3de7a39e51739b800eab4ccb7@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <44b52b799c417402f3766f562cc0f51a3fb86cd5@gmail.com>
Reviewed-by: Boris Fiuczynski <2648abdd55bfebf313fd324b464b047e6eea300e@linux.ibm.com>
Message-Id: <1568924706-2311-15-git-send-email-6a8456d624ba23d3de7a39e51739b800eab4ccb7@linux.ibm.com>
Reviewed-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

fabianfreyer/libvirt,zippy2/libvirt,andreabolognani/libvirt,crobinso/libvirt,olafhering/libvirt,andreabolognani/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,jfehlig/libvirt,jardasgit/libvirt,olafhering/libvirt,jfehlig/libvirt,andreabolognani/libvirt,libvirt/libvirt,libvirt/libvirt,libvirt/libvirt,jardasgit/libvirt,nertpinx/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,jardasgit/libvirt,jfehlig/libvirt,andreabolognani/libvirt,crobinso/libvirt,jardasgit/libvirt,zippy2/libvirt,olafhering/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,crobinso/libvirt,olafhering/libvirt