s390x/pci: unify FH_ macros
commitc188e30315dc44cf428f2008df4ea2a9788ac8df
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Fri, 13 May 2016 08:16:30 +0000 (13 16:16 +0800)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000 (11 09:48 +0200)
tree01dcc582d47e33191a76518aa4690b6b71b0fac4
parent67aad508decdbbce59faa27072daae0d1d31b1ad
s390x/pci: unify FH_ macros

Present code uses some macros to structure PCI Function Handle. But
their names don't have a uniform format. Let's use FH_MASK_ as the
unified prefix.

While we're at it, differentiate the SHM bits: use different bits for
vfio and emulated devices.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h
hw/s390x/s390-pci-inst.c