qemu: avoid launching non-x86 guests with 'pvspinlock' setting
qemu: avoid launching non-x86 guests with 'pvspinlock' setting

The 'pvspinlock' feature is x86 only. The "<pvspinlock/>" declaration
will always have a value 'on' or 'off', and both will break QEMU when
launching non-x86 guests. This is the error message for
"<pvspinlock state='on'/>" when running a ppc64 guest:

qemu-kvm: Expected key=value format, found +kvm_pv_unhalt

A similar error message is thrown for "<pvspinlock state='off'/>".

This patch prevents non-x86 guests from launching with any
pvspinlock setting with a more informative error message:

error: unsupported configuration: The 'pvspinlock' feature is not
supported for architecture 'ppc64' or machine type 'pseries'

Signed-off-by: Daniel Henrique Barboza <627b089ad62deae9aaf06ccfa2c9056df28927e0@gmail.com>
Reviewed-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>

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