s390x/pci: use the passthrough measurement update interval
authorMatthew Rosato <mjrosato@linux.ibm.com>
Fri, 3 Dec 2021 14:27:05 +0000 (09:27 -0500)
committerThomas Huth <thuth@redhat.com>
Fri, 17 Dec 2021 08:12:37 +0000 (09:12 +0100)
commitcb6d6a3e6aa1226b67fd218953dcb3866c3a6845
treea391f50150535d260d4d66f10368905f877c1ab9
parentdf7ce0a94d9283f0656b4bc0f21566973ff649a3
s390x/pci: use the passthrough measurement update interval

We may have gotten a measurement update interval from the underlying host
via vfio -- Use it to set the interval via which we update the function
measurement block.

Fixes: 28dc86a072 ("s390x/pci: use a PCI Group structure")
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Message-Id: <20211203142706.427279-4-mjrosato@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-pci-inst.c