s390x: chsc nt2 events are pci-only
commit1c5deaec77870961f6575e946d5af7a7d0831e57
authorCornelia Huck <cohuck@redhat.com>
Thu, 6 Jul 2017 14:40:21 +0000 (6 16:40 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (30 18:23 +0200)
tree6894274d1d727a53b59cdfe9cb9b725f46b46345
parent5838d65770aea0bc7d4f26bc4e5efbd0e5aeaa7a
s390x: chsc nt2 events are pci-only

The nt2 event class is pci-only - don't look for events if pci is
not in the active cpu model.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h
hw/s390x/s390-pci-stub.c
target/s390x/ioinst.c