conf: new functions to check if PCI address is wanted/present
conf: new functions to check if PCI address is wanted/present

In order to allow <address type='pci'/> with no other attributes to
mean "I want a PCI address, but any PCI address will do" (just as
having no <address> at all usually indicates), we will need to change
several places in the code from a simple "info->type == (or !=)
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_(PCI|NONE)" into something slightly
more complex, this patch adds to new functions that take a
virDomainDeviceInfoPtr and return true/false depending on 1) whether
the current state of the info indicates that we "want" a PCI address
for this device (virDeviceInfoPCIAddressWanted()) and 2) whether this
device already has a valid PCI address
(virDeviceInfoPCIAddressPresent()).

Both of these functions required the simpler check for whether a pci
address is "empty" (i.e. all of its attributes are 0, which can never
happen in a real PCI address, since slot 0 of bus 0 of domain 0 is
always reserved), so that function is also added.

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