Merge branch 'kvm-guest-sev-migration' into kvm-master
[linux-2.6-microblaze.git] / samples / vfio-mdev / mtty.c
index 5983cdb..a0e1a46 100644 (file)
@@ -741,7 +741,7 @@ static int mtty_probe(struct mdev_device *mdev)
 
        mtty_create_config_space(mdev_state);
 
-       ret = vfio_register_group_dev(&mdev_state->vdev);
+       ret = vfio_register_emulated_iommu_dev(&mdev_state->vdev);
        if (ret)
                goto err_vconfig;
        dev_set_drvdata(&mdev->dev, mdev_state);