On 3/3/2022 6:21 PM, Alex Williamson wrote:
> On Wed, 22 Dec 2021 11:05:23 -0800
> Steve Sistare wrote:
>
>> +if (vfio_notifier_init(vdev, &vdev->intx.unmask, "intx-unmask", 0)) {
> ...
>> +vfio_notifier_cleanup(vdev, &vdev->intx.unmask, "intx-unmask", 0);
> ...
>> +vfio_notifier_clea
On Wed, 22 Dec 2021 11:05:23 -0800
Steve Sistare wrote:
> +if (vfio_notifier_init(vdev, &vdev->intx.unmask, "intx-unmask", 0)) {
...
> +vfio_notifier_cleanup(vdev, &vdev->intx.unmask, "intx-unmask", 0);
...
> +vfio_notifier_cleanup(vdev, &vdev->intx.unmask, "intx-unmask", 0);
...
> +
Export vfio_address_spaces.
Refactor vector use into a helper vfio_vector_init.
Add vfio_notifier_init and vfio_notifier_cleanup for named notifiers,
and pass additional arguments to vfio_remove_kvm_msi_virq.
All for use by cpr in a subsequent patch. No functional change.
Signed-off-by: Steve Si