[virtio-dev] [PATCH v3] virtio-blk: add discard and write zeroes features to specification

2018-03-05 Thread Changpeng Liu
Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES support, this will impact the performance when using SSD backend over file systems. Here is the proposal to extend existing virtio-blk protocol to support DISCARD/WRITE ZEROES commands. Basic idea here is using 16 Bytes payload to sup

[virtio-dev] Re: [PATCH v3 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-03-05 Thread Michael S. Tsirkin
On Tue, Mar 06, 2018 at 09:54:49AM +0800, Wei Wang wrote: > On 03/05/2018 10:09 PM, Michael S. Tsirkin wrote: > > On Mon, Mar 05, 2018 at 11:36:15AM +0800, Wei Wang wrote: > > > On 03/03/2018 02:37 AM, Michael S. Tsirkin wrote: > > > > On Fri, Mar 02, 2018 at 04:47:29PM +0800, Wei Wang wrote: > > >

[virtio-dev] Re: [PATCH v3 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-03-05 Thread Wei Wang
On 03/05/2018 10:09 PM, Michael S. Tsirkin wrote: On Mon, Mar 05, 2018 at 11:36:15AM +0800, Wei Wang wrote: On 03/03/2018 02:37 AM, Michael S. Tsirkin wrote: On Fri, Mar 02, 2018 at 04:47:29PM +0800, Wei Wang wrote: diff --git a/include/sysemu/balloon.h b/include/sysemu/balloon.h index af49e19

[virtio-dev] RE: [RFC v2] virtio-blk: add discard and write zeroes features to specification

2018-03-05 Thread Liu, Changpeng
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Monday, March 5, 2018 7:34 PM > To: Liu, Changpeng > Cc: virtio-dev@lists.oasis-open.org; cav...@redhat.com; pbonz...@redhat.com; > Wodkowski, PawelX ; Harris, James R > > Subject: Re: [RFC v2] virtio-blk:

[virtio-dev] Re: [PATCH v4 2/2] virtio_net: Extend virtio to use VF datapath when available

2018-03-05 Thread Alexander Duyck
On Mon, Mar 5, 2018 at 2:30 PM, Jiri Pirko wrote: > Mon, Mar 05, 2018 at 05:11:32PM CET, step...@networkplumber.org wrote: >>On Mon, 5 Mar 2018 10:21:18 +0100 >>Jiri Pirko wrote: >> >>> Sun, Mar 04, 2018 at 10:58:34PM CET, alexander.du...@gmail.com wrote: >>> >On Sun, Mar 4, 2018 at 10:50 AM, Jir

[virtio-dev] Re: [PATCH] pci-iov: Add support for unmanaged SR-IOV

2018-03-05 Thread Alexander Duyck
On Mon, Mar 5, 2018 at 12:57 PM, Don Dutile wrote: > On 03/01/2018 03:22 PM, Alex Williamson wrote: >> >> On Wed, 28 Feb 2018 16:36:38 -0800 >> Alexander Duyck wrote: >> >>> On Wed, Feb 28, 2018 at 2:59 PM, Alex Williamson >>> wrote: On Wed, 28 Feb 2018 09:49:21 -0800 Alexander Du

[virtio-dev] Re: [PATCH] introduction: document bitfield notation

2018-03-05 Thread Michael S. Tsirkin
On Mon, Mar 05, 2018 at 05:04:40PM +0100, Cornelia Huck wrote: > On Mon, 5 Mar 2018 16:26:11 +0200 > "Michael S. Tsirkin" wrote: > > > On Mon, Mar 05, 2018 at 03:20:35PM +0100, Cornelia Huck wrote: > > > On Wed, 28 Feb 2018 21:16:32 +0200 > > > "Michael S. Tsirkin" wrote: > > > > > > > Bitfie

[virtio-dev] Re: [PATCH] introduction: document bitfield notation

2018-03-05 Thread Cornelia Huck
On Mon, 5 Mar 2018 16:26:11 +0200 "Michael S. Tsirkin" wrote: > On Mon, Mar 05, 2018 at 03:20:35PM +0100, Cornelia Huck wrote: > > On Wed, 28 Feb 2018 21:16:32 +0200 > > "Michael S. Tsirkin" wrote: > > > > > Bitfields are a useful and familiar way to specify sub-byte structure > > > layout. T

[virtio-dev] Re: [PATCH] introduction: document bitfield notation

2018-03-05 Thread Michael S. Tsirkin
On Mon, Mar 05, 2018 at 03:20:35PM +0100, Cornelia Huck wrote: > On Wed, 28 Feb 2018 21:16:32 +0200 > "Michael S. Tsirkin" wrote: > > > Bitfields are a useful and familiar way to specify sub-byte structure > > layout. The only issue is that bitfield order isn't portable across > > architectures.

[virtio-dev] Re: [PATCH] introduction: document bitfield notation

2018-03-05 Thread Cornelia Huck
On Wed, 28 Feb 2018 21:16:32 +0200 "Michael S. Tsirkin" wrote: > Bitfields are a useful and familiar way to specify sub-byte structure > layout. The only issue is that bitfield order isn't portable across > architectures. Document that we list bitfields from least to > most significant one, and

[virtio-dev] Re: [PATCH v2] content: document balloon memory statistics

2018-03-05 Thread Michael S. Tsirkin
On Thu, Feb 22, 2018 at 01:50:52PM +0100, Tomáš Golembiovský wrote: > Linux kernel provides some balloon memory statistics that were not > included in the specs. Include them to avoid any ID clashes in the > future. > > Signed-off-by: Tomáš Golembiovský OK when you feel it's ready, pls open an i

[virtio-dev] Re: [PATCH v3 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-03-05 Thread Michael S. Tsirkin
On Mon, Mar 05, 2018 at 11:36:15AM +0800, Wei Wang wrote: > On 03/03/2018 02:37 AM, Michael S. Tsirkin wrote: > > On Fri, Mar 02, 2018 at 04:47:29PM +0800, Wei Wang wrote: > > > diff --git a/include/sysemu/balloon.h b/include/sysemu/balloon.h > > > index af49e19..16a2aae 100644 > > > --- a/include/

Re: [virtio-dev] [PATCH v2] content: document balloon memory statistics

2018-03-05 Thread Stefan Hajnoczi
On Thu, Feb 22, 2018 at 01:50:52PM +0100, Tomáš Golembiovský wrote: > Linux kernel provides some balloon memory statistics that were not > included in the specs. Include them to avoid any ID clashes in the > future. > > Signed-off-by: Tomáš Golembiovský > --- > content.tex | 9 + > 1 fil

[virtio-dev] Re: [RFC v2] virtio-blk: add discard and write zeroes features to specification

2018-03-05 Thread Stefan Hajnoczi
On Wed, Feb 28, 2018 at 02:54:28PM +0800, Changpeng Liu wrote: > @@ -4211,6 +4227,17 @@ according to the native endian of the guest rather than >after reset can be either writeback or writethrough. The actual >mode can be determined by reading \field{writeback} after feature >negotiati

[virtio-dev] Re: [virtio] [PATCH] introduction: document bitfield notation

2018-03-05 Thread Stefan Hajnoczi
On Wed, Feb 28, 2018 at 09:16:32PM +0200, Michael S. Tsirkin wrote: > Bitfields are a useful and familiar way to specify sub-byte structure > layout. The only issue is that bitfield order isn't portable across > architectures. Document that we list bitfields from least to > most significant one, a

Re: [virtio-dev] [PATCH] README.md: add hints for contributors

2018-03-05 Thread Stefan Hajnoczi
On Fri, Mar 02, 2018 at 10:09:09PM +0200, Michael S. Tsirkin wrote: > Add links to admin repo and mailing lists. > > Signed-off-by: Michael S. Tsirkin > --- > README.md | 14 ++ > 1 file changed, 10 insertions(+), 4 deletions(-) Reviewed-by: Stefan Hajnoczi signature.asc Descript