Re: vhost: refine vhost and vringh kconfig

2020-04-10 Thread Geert Uytterhoeven
>> Committer: Michael S. Tsirkin > >> CommitDate: Wed Apr 1 12:06:26 2020 -0400 > >> > >> vhost: refine vhost and vringh kconfig > >> > >> Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is > >>

Re: vhost: refine vhost and vringh kconfig

2020-04-10 Thread Jason Wang
/torvalds/c/20c384f1ea1a0bc7320bc445c72dd02d2970d594 Author: Jason Wang AuthorDate: Thu Mar 26 22:01:17 2020 +0800 Committer: Michael S. Tsirkin CommitDate: Wed Apr 1 12:06:26 2020 -0400 vhost: refine vhost and vringh kconfig Currently, CONFIG_VHOST depends on

Re: vhost: refine vhost and vringh kconfig

2020-04-10 Thread Geert Uytterhoeven
.org/torvalds/c/20c384f1ea1a0bc7320bc445c72dd02d2970d594 > Author: Jason Wang > AuthorDate: Thu Mar 26 22:01:17 2020 +0800 > Committer: Michael S. Tsirkin > CommitDate: Wed Apr 1 12:06:26 2020 -0400 > > vhost: refine vhost and vringh kconfig > > Currently, CONFIG_VHOST depends on CONFIG

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-02 Thread Jason Wang
On 2020/4/2 下午10:38, Michael S. Tsirkin wrote: On Thu, Apr 02, 2020 at 10:23:59PM +0800, Jason Wang wrote: On 2020/4/2 下午10:03, Michael S. Tsirkin wrote: On Thu, Apr 02, 2020 at 11:22:57AM +0800, Jason Wang wrote: On 2020/4/2 上午12:08, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:29:3

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2020 at 10:23:59PM +0800, Jason Wang wrote: > > On 2020/4/2 下午10:03, Michael S. Tsirkin wrote: > > On Thu, Apr 02, 2020 at 11:22:57AM +0800, Jason Wang wrote: > > > On 2020/4/2 上午12:08, Michael S. Tsirkin wrote: > > > > On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: >

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-02 Thread Jason Wang
On 2020/4/2 下午10:03, Michael S. Tsirkin wrote: On Thu, Apr 02, 2020 at 11:22:57AM +0800, Jason Wang wrote: On 2020/4/2 上午12:08, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 From: J

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2020 at 11:22:57AM +0800, Jason Wang wrote: > > On 2020/4/2 上午12:08, Michael S. Tsirkin wrote: > > On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: > > > >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 > > > From: Jason Wang > > > Date: Wed, 1 Ap

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/2 上午12:08, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Wed, 1 Apr 2020 22:17:27 +0800 Subject: [PATCH] vhost: let CONFIG_VHOST to be selected by dr

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Christian Borntraeger
On 01.04.20 17:57, Michael S. Tsirkin wrote: > On Wed, Apr 01, 2020 at 10:50:50PM +0800, Jason Wang wrote: >> >> On 2020/4/1 下午10:27, Michael S. Tsirkin wrote: >>> On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: On 2020/4/1 下午9:02, Christian Borntraeger wrote: > On 01.04.20 1

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: > >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 > From: Jason Wang > Date: Wed, 1 Apr 2020 22:17:27 +0800 > Subject: [PATCH] vhost: let CONFIG_VHOST to be selected by drivers > > The defconfig on some archs enab

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: > >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 > From: Jason Wang > Date: Wed, 1 Apr 2020 22:17:27 +0800 > Subject: [PATCH] vhost: let CONFIG_VHOST to be selected by drivers > > The defconfig on some archs enab

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:50:50PM +0800, Jason Wang wrote: > > On 2020/4/1 下午10:27, Michael S. Tsirkin wrote: > > On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: > > > On 2020/4/1 下午9:02, Christian Borntraeger wrote: > > > > On 01.04.20 14:56, Christian Borntraeger wrote: > > > > > On

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午10:27, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: On 2020/4/1 下午9:02, Christian Borntraeger wrote: On 01.04.20 14:56, Christian Borntraeger wrote: On 01.04.20 14:50, Jason Wang wrote: On 2020/4/1 下午7:21, Christian Borntraeger wrote: O

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午10:39, Michael S. Tsirkin wrote: >From 9b3a5d23b8bf6b0a11e65e688335d782f8e6aa5c Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Wed, 1 Apr 2020 22:17:27 +0800 Subject: [PATCH] vhost: let CONFIG_VHOST to be selected by drivers The defconfig on some archs enable vhost_net or vhost_v

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午10:35, Michael S. Tsirkin wrote: diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig index 2523a1d4290a..362b832f5338 100644 --- a/drivers/vhost/Kconfig +++ b/drivers/vhost/Kconfig @@ -11,19 +11,23 @@ config VHOST_RING This option is selected by any driver which ne

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: > > On 2020/4/1 下午10:13, Michael S. Tsirkin wrote: > > On Wed, Apr 01, 2020 at 10:08:59PM +0800, Jason Wang wrote: > > > On 2020/4/1 下午9:22, Michael S. Tsirkin wrote: > > > > On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: > >

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午10:18, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: On 2020/4/1 下午9:02, Christian Borntraeger wrote: On 01.04.20 14:56, Christian Borntraeger wrote: On 01.04.20 14:50, Jason Wang wrote: On 2020/4/1 下午7:21, Christian Borntraeger wrote: O

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:29:32PM +0800, Jason Wang wrote: > > On 2020/4/1 下午10:13, Michael S. Tsirkin wrote: > > On Wed, Apr 01, 2020 at 10:08:59PM +0800, Jason Wang wrote: > > > On 2020/4/1 下午9:22, Michael S. Tsirkin wrote: > > > > On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: > >

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午10:13, Michael S. Tsirkin wrote: On Wed, Apr 01, 2020 at 10:08:59PM +0800, Jason Wang wrote: On 2020/4/1 下午9:22, Michael S. Tsirkin wrote: On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not neces

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: > > On 2020/4/1 下午9:02, Christian Borntraeger wrote: > > > > On 01.04.20 14:56, Christian Borntraeger wrote: > > > On 01.04.20 14:50, Jason Wang wrote: > > > > On 2020/4/1 下午7:21, Christian Borntraeger wrote: > > > > > On 26.03.20 15:01,

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:13:29PM +0800, Jason Wang wrote: > > On 2020/4/1 下午9:02, Christian Borntraeger wrote: > > > > On 01.04.20 14:56, Christian Borntraeger wrote: > > > On 01.04.20 14:50, Jason Wang wrote: > > > > On 2020/4/1 下午7:21, Christian Borntraeger wrote: > > > > > On 26.03.20 15:01,

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午9:02, Christian Borntraeger wrote: On 01.04.20 14:56, Christian Borntraeger wrote: On 01.04.20 14:50, Jason Wang wrote: On 2020/4/1 下午7:21, Christian Borntraeger wrote: On 26.03.20 15:01, Jason Wang wrote: Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 10:08:59PM +0800, Jason Wang wrote: > > On 2020/4/1 下午9:22, Michael S. Tsirkin wrote: > > On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: > > > Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is > > > not necessarily for VM since it's a gener

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午9:22, Michael S. Tsirkin wrote: On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not necessarily for VM since it's a generic userspace and kernel communication protocol. Such dependency may prevent a

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Wed, Apr 01, 2020 at 03:02:00PM +0200, Christian Borntraeger wrote: > > > On 01.04.20 14:56, Christian Borntraeger wrote: > > > > On 01.04.20 14:50, Jason Wang wrote: > >> > >> On 2020/4/1 下午7:21, Christian Borntraeger wrote: > >>> On 26.03.20 15:01, Jason Wang wrote: > Currently, CONFIG

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Michael S. Tsirkin
On Thu, Mar 26, 2020 at 10:01:17PM +0800, Jason Wang wrote: > Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is > not necessarily for VM since it's a generic userspace and kernel > communication protocol. Such dependency may prevent archs without > virtualization support from u

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Christian Borntraeger
On 01.04.20 14:56, Christian Borntraeger wrote: > > On 01.04.20 14:50, Jason Wang wrote: >> >> On 2020/4/1 下午7:21, Christian Borntraeger wrote: >>> On 26.03.20 15:01, Jason Wang wrote: Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not necessarily for VM since i

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Christian Borntraeger
On 01.04.20 14:50, Jason Wang wrote: > > On 2020/4/1 下午7:21, Christian Borntraeger wrote: >> On 26.03.20 15:01, Jason Wang wrote: >>> Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is >>> not necessarily for VM since it's a generic userspace and kernel >>> communication proto

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Jason Wang
On 2020/4/1 下午7:21, Christian Borntraeger wrote: On 26.03.20 15:01, Jason Wang wrote: Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not necessarily for VM since it's a generic userspace and kernel communication protocol. Such dependency may prevent archs without virtual

Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-04-01 Thread Christian Borntraeger
On 26.03.20 15:01, Jason Wang wrote: > Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is > not necessarily for VM since it's a generic userspace and kernel > communication protocol. Such dependency may prevent archs without > virtualization support from using vhost. > > To s

[PATCH V9 1/9] vhost: refine vhost and vringh kconfig

2020-03-26 Thread Jason Wang
Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not necessarily for VM since it's a generic userspace and kernel communication protocol. Such dependency may prevent archs without virtualization support from using vhost. To solve this, a dedicated vhost menu is created under

[PATCH V8 1/9] vhost: refine vhost and vringh kconfig

2020-03-25 Thread Jason Wang
Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is not necessarily for VM since it's a generic userspace and kernel communication protocol. Such dependency may prevent archs without virtualization support from using vhost. To solve this, a dedicated vhost menu is created under