Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286621 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2015-12-08 16:50 +0100 |
| Last post | 2015-12-08 18:20 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH] vhost: vsock: select CONFIG_VHOST Arnd Bergmann <arnd@arndb.de> - 2015-12-08 16:50 +0100
Re: [PATCH] vhost: vsock: select CONFIG_VHOST "Michael S. Tsirkin" <mst@redhat.com> - 2015-12-08 17:10 +0100
Re: [PATCH] vhost: vsock: select CONFIG_VHOST David Miller <davem@davemloft.net> - 2015-12-08 18:20 +0100
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2015-12-08 16:50 +0100 |
| Subject | [PATCH] vhost: vsock: select CONFIG_VHOST |
| Message-ID | <qDsGC-4bA-21@gated-at.bofh.it> |
When building the new vsock code without vhost, we get a build error: drivers/built-in.o: In function `vhost_vsock_flush': :(.text+0x24d29c): undefined reference to `vhost_poll_flush' This adds an explicit 'select' like we have for the other vhost drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/vhost/Kconfig.vsock | 2 ++ 1 file changed, 2 insertions(+) The patch causing the problem is currently in net-next, so the fix should be applied on top of that. diff --git a/drivers/vhost/Kconfig.vsock b/drivers/vhost/Kconfig.vsock index 3491865d3eb9..bfb9edc4b5d6 100644 --- a/drivers/vhost/Kconfig.vsock +++ b/drivers/vhost/Kconfig.vsock @@ -2,6 +2,8 @@ config VHOST_VSOCK tristate "vhost virtio-vsock driver" depends on VSOCKETS && EVENTFD select VIRTIO_VSOCKETS_COMMON + select VHOST + select VHOST_RING default n ---help--- Say M here to enable the vhost-vsock for virtio-vsock guests -- 2.1.0.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | "Michael S. Tsirkin" <mst@redhat.com> |
|---|---|
| Date | 2015-12-08 17:10 +0100 |
| Message-ID | <qDsZY-4yl-19@gated-at.bofh.it> |
| In reply to | #1286621 |
On Tue, Dec 08, 2015 at 04:46:08PM +0100, Arnd Bergmann wrote: > When building the new vsock code without vhost, we get a build error: > > drivers/built-in.o: In function `vhost_vsock_flush': > :(.text+0x24d29c): undefined reference to `vhost_poll_flush' > > This adds an explicit 'select' like we have for the other vhost > drivers. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> This will need to be done eventually, so Acked-by: Michael S. Tsirkin <mst@redhat.com> but I really think the right thing for now is to revert current vsock code, or disable building it unconditionally. Stefan, could you please send a patch like this? > --- > drivers/vhost/Kconfig.vsock | 2 ++ > 1 file changed, 2 insertions(+) > > The patch causing the problem is currently in net-next, so the fix should be > applied on top of that. > > diff --git a/drivers/vhost/Kconfig.vsock b/drivers/vhost/Kconfig.vsock > index 3491865d3eb9..bfb9edc4b5d6 100644 > --- a/drivers/vhost/Kconfig.vsock > +++ b/drivers/vhost/Kconfig.vsock > @@ -2,6 +2,8 @@ config VHOST_VSOCK > tristate "vhost virtio-vsock driver" > depends on VSOCKETS && EVENTFD > select VIRTIO_VSOCKETS_COMMON > + select VHOST > + select VHOST_RING > default n > ---help--- > Say M here to enable the vhost-vsock for virtio-vsock guests > -- > 2.1.0.rc2 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2015-12-08 18:20 +0100 |
| Message-ID | <qDu5H-5d4-1@gated-at.bofh.it> |
| In reply to | #1286631 |
From: "Michael S. Tsirkin" <mst@redhat.com> Date: Tue, 8 Dec 2015 18:09:44 +0200 > On Tue, Dec 08, 2015 at 04:46:08PM +0100, Arnd Bergmann wrote: >> When building the new vsock code without vhost, we get a build error: >> >> drivers/built-in.o: In function `vhost_vsock_flush': >> :(.text+0x24d29c): undefined reference to `vhost_poll_flush' >> >> This adds an explicit 'select' like we have for the other vhost >> drivers. >> >> Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > This will need to be done eventually, so > > Acked-by: Michael S. Tsirkin <mst@redhat.com> > > but I really think the right thing for now is to revert current vsock > code, or disable building it unconditionally. Stefan, could you please > send a patch like this? I'm waiting for the full single revert patch and will apply it as soon as I receive it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web