Re: virtio-blk: should num_vqs be limited by num_possible_cpus()?

2019-03-20 Thread Dongli Zhang
On 3/20/19 8:53 PM, Jason Wang wrote: > > On 2019/3/19 上午10:22, Dongli Zhang wrote: >> Hi Jason, >> >> On 3/18/19 3:47 PM, Jason Wang wrote: >>> On 2019/3/15 下午8:41, Cornelia Huck wrote: On Fri, 15 Mar 2019 12:50:11 +0800 Jason Wang wrote: > Or something like I proposed

Re: [PATCH net v2] failover: allow name change on IFF_UP slave interfaces

2019-03-20 Thread Samudrala, Sridhar
On 3/19/2019 10:20 PM, si-wei liu wrote: Hi Sridhar, Are you fine with leaving the IFF_SLAVE_RENAME_OK flag as is, and thus can provide your Ack-by or Reviewed-by? I can change the code if you feel strong. My preference would be not to introduce a new flag unless there is any usecase

[PATCH] drm/virtio: add virtio-gpu-features debugfs file.

2019-03-20 Thread Gerd Hoffmann
This file prints which features the virtio-gpu device has. Also add "virtio-gpu-" prefix to the existing fence file, to make clear this is a driver-specific debugfs file. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 27 +++- 1 file changed, 26

Re: [summary] virtio network device failover writeup

2019-03-20 Thread Michael S. Tsirkin
On Wed, Mar 20, 2019 at 01:25:58AM +0200, Liran Alon wrote: > > > > On 19 Mar 2019, at 23:19, Michael S. Tsirkin wrote: > > > > On Tue, Mar 19, 2019 at 08:46:47AM -0700, Stephen Hemminger wrote: > >> On Tue, 19 Mar 2019 14:38:06 +0200 > >> Liran Alon wrote: > >> > >>> b.3) cloud-init: If

[PATCH] drm/virtio: make resource id workaround runtime switchable.

2019-03-20 Thread Gerd Hoffmann
Also update the comment with a reference to the virglrenderer fix. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_object.c | 44 ++--- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c

Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted

2019-03-20 Thread Thiago Jung Bauermann
Hello Michael, Sorry for the delay in responding. We had some internal discussions on this. Michael S. Tsirkin writes: > On Mon, Feb 04, 2019 at 04:14:20PM -0200, Thiago Jung Bauermann wrote: >> >> Hello Michael, >> >> Michael S. Tsirkin writes: >> >> > On Tue, Jan 29, 2019 at 03:42:44PM

Re: virtio-blk: should num_vqs be limited by num_possible_cpus()?

2019-03-20 Thread Jason Wang
On 2019/3/19 上午10:22, Dongli Zhang wrote: Hi Jason, On 3/18/19 3:47 PM, Jason Wang wrote: On 2019/3/15 下午8:41, Cornelia Huck wrote: On Fri, 15 Mar 2019 12:50:11 +0800 Jason Wang wrote: Or something like I proposed several years ago? https://do-db2.lkml.org/lkml/2014/12/25/169 Btw, for

Re: [summary] virtio network device failover writeup

2019-03-20 Thread Michael S. Tsirkin
On Wed, Mar 20, 2019 at 02:23:36PM +0200, Liran Alon wrote: > > > > On 20 Mar 2019, at 12:25, Michael S. Tsirkin wrote: > > > > On Wed, Mar 20, 2019 at 01:25:58AM +0200, Liran Alon wrote: > >> > >> > >>> On 19 Mar 2019, at 23:19, Michael S. Tsirkin wrote: > >>> > >>> On Tue, Mar 19, 2019

Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted

2019-03-20 Thread Michael S. Tsirkin
On Wed, Mar 20, 2019 at 01:13:41PM -0300, Thiago Jung Bauermann wrote: > >> Another way of looking at this issue which also explains our reluctance > >> is that the only difference between a secure guest and a regular guest > >> (at least regarding virtio) is that the former uses swiotlb while the

Re: [summary] virtio network device failover writeup

2019-03-20 Thread Michael S. Tsirkin
On Wed, Mar 20, 2019 at 11:43:41PM +0200, Liran Alon wrote: > > > > On 20 Mar 2019, at 16:09, Michael S. Tsirkin wrote: > > > > On Wed, Mar 20, 2019 at 02:23:36PM +0200, Liran Alon wrote: > >> > >> > >>> On 20 Mar 2019, at 12:25, Michael S. Tsirkin wrote: > >>> > >>> On Wed, Mar 20, 2019