Displaying 3 results from an estimated 3 matches for "vhost_vdpa_exit".
2020 Apr 01
0
mmotm 2020-03-30-18-46 uploaded (VDPA + vhost)
...z/linux-mm
>>>>
>>>> on i386:
>>>>
>>>> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_init':
>>>> vdpa.c:(.init.text+0x52): undefined reference to `__vdpa_register_driver'
>>>> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_exit':
>>>> vdpa.c:(.exit.text+0x14): undefined reference to `vdpa_unregister_driver'
>>>>
>>>>
>>>>
>>>> drivers/virtio/vdpa/ is not being built. (confusing!)
>>>>
>>>> CONFIG_VIRTIO=m
>>>> # CONFIG_...
2020 Feb 04
10
[PATCH] vhost: introduce vDPA based backend
...> +err_cdev_add:
> + unregister_chrdev_region(vhost_vdpa.devt, MINORMASK + 1);
> +err_alloc_chrdev:
> + class_destroy(vhost_vdpa.class);
> +err_class:
> + idr_destroy(&vhost_vdpa.idr);
> + return r;
> +}
> +module_init(vhost_vdpa_init);
> +
> +static void __exit vhost_vdpa_exit(void)
> +{
> + unregister_vdpa_driver(&vhost_vdpa_driver);
> + cdev_del(&vhost_vdpa.cdev);
> + unregister_chrdev_region(vhost_vdpa.devt, MINORMASK + 1);
> + class_destroy(vhost_vdpa.class);
> + idr_destroy(&vhost_vdpa.idr);
> +}
> +module_exit(vhost_vdpa_exit);
&...
2020 Feb 04
10
[PATCH] vhost: introduce vDPA based backend
...> +err_cdev_add:
> + unregister_chrdev_region(vhost_vdpa.devt, MINORMASK + 1);
> +err_alloc_chrdev:
> + class_destroy(vhost_vdpa.class);
> +err_class:
> + idr_destroy(&vhost_vdpa.idr);
> + return r;
> +}
> +module_init(vhost_vdpa_init);
> +
> +static void __exit vhost_vdpa_exit(void)
> +{
> + unregister_vdpa_driver(&vhost_vdpa_driver);
> + cdev_del(&vhost_vdpa.cdev);
> + unregister_chrdev_region(vhost_vdpa.devt, MINORMASK + 1);
> + class_destroy(vhost_vdpa.class);
> + idr_destroy(&vhost_vdpa.idr);
> +}
> +module_exit(vhost_vdpa_exit);
&...