virt-host-validate: Initialize the error object
virt-host-validate: Initialize the error object

Several libvirt functions are called from virt-host-validate.
Some of these functions do report an error on failure. But
reporting an error is coupled with freeing previous error (by
calling virResetError()). But we've never called
virErrorInitialize() and thus resetting error object frees some
random pointer.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Reviewed-by: Fabiano Fidêncio <d95e9796398a6087d3fb67947e5776c26b264733@fidencio.org>

zippy2/libvirt,olafhering/libvirt,crobinso/libvirt,zippy2/libvirt,olafhering/libvirt,libvirt/libvirt,zippy2/libvirt,jfehlig/libvirt,crobinso/libvirt,jfehlig/libvirt,zippy2/libvirt,libvirt/libvirt,nertpinx/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,olafhering/libvirt,olafhering/libvirt,crobinso/libvirt,jfehlig/libvirt