Re: [PATCH] vhost/vsock: specify module version

2024-09-29 Thread Aleksandr Mikhalitsyn
On Sun, Sep 29, 2024 at 7:48 PM Michael S. Tsirkin wrote: > > On Sun, Sep 29, 2024 at 07:35:35PM +0200, Aleksandr Mikhalitsyn wrote: > > On Sun, Sep 29, 2024 at 6:56 PM Michael S. Tsirkin wrote: > > > > > > On Thu, Sep 26, 2024 at 06:16:40PM +0200, Alexander Mikhalitsyn wrote: > > > > Add an expl

Re: [PATCH] vhost/vsock: specify module version

2024-09-29 Thread Michael S. Tsirkin
On Sun, Sep 29, 2024 at 07:35:35PM +0200, Aleksandr Mikhalitsyn wrote: > On Sun, Sep 29, 2024 at 6:56 PM Michael S. Tsirkin wrote: > > > > On Thu, Sep 26, 2024 at 06:16:40PM +0200, Alexander Mikhalitsyn wrote: > > > Add an explicit MODULE_VERSION("0.0.1") specification > > > for a vhost_vsock modu

Re: [PATCH] vhost/vsock: specify module version

2024-09-29 Thread Michael S. Tsirkin
On Sun, Sep 29, 2024 at 07:35:35PM +0200, Aleksandr Mikhalitsyn wrote: > On Sun, Sep 29, 2024 at 6:56 PM Michael S. Tsirkin wrote: > > > > On Thu, Sep 26, 2024 at 06:16:40PM +0200, Alexander Mikhalitsyn wrote: > > > Add an explicit MODULE_VERSION("0.0.1") specification > > > for a vhost_vsock modu

Re: [PATCH] vhost/vsock: specify module version

2024-09-29 Thread Aleksandr Mikhalitsyn
On Sun, Sep 29, 2024 at 6:56 PM Michael S. Tsirkin wrote: > > On Thu, Sep 26, 2024 at 06:16:40PM +0200, Alexander Mikhalitsyn wrote: > > Add an explicit MODULE_VERSION("0.0.1") specification > > for a vhost_vsock module. It is useful because it allows > > userspace to check if vhost_vsock is there

Re: [PATCH] vhost/vsock: specify module version

2024-09-29 Thread Michael S. Tsirkin
On Thu, Sep 26, 2024 at 06:16:40PM +0200, Alexander Mikhalitsyn wrote: > Add an explicit MODULE_VERSION("0.0.1") specification > for a vhost_vsock module. It is useful because it allows > userspace to check if vhost_vsock is there when it is > configured as a built-in. > > Without this change, the

[PATCH] vhost/vsock: specify module version

2024-09-26 Thread Alexander Mikhalitsyn
Add an explicit MODULE_VERSION("0.0.1") specification for a vhost_vsock module. It is useful because it allows userspace to check if vhost_vsock is there when it is configured as a built-in. Without this change, there is no /sys/module/vhost_vsock directory. With this change: $ ls -la /sys/module