util: Forbid resetting non-endpoint devices
util: Forbid resetting non-endpoint devices

It is destructive to attempt reset on a pci- or cardbus-bridge, the
host can crash.  The bridges won't contain any guest data and neither
they can be passed through using vfio/stub.  So, no point in allowing a
reset on them.

Signed-off-by: Shivaprasad G Bhat <90f736271cc61454bf7410f17f3d154578105aa0@linux.vnet.ibm.com>

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