On Fri, Dec 15, 2017 at 06:02:48PM +0300, Denis V. Lunev wrote: > v2->v3 > - added 2.12 machine types > - added compat properties for 2.11 machine type > > v1->v2: > - added max_segments property for virtblock device
I'm not applying this for now. It seems too easy to create illegal configurations with it, e.g. where max seg > queue size. 1022 also seems too aggressive - e.g. if a couple of segments cross page boundaries, we'll exceed the iov length. around 500 seems more prudent. Guerd, could you pls also take a look at whether seabios is smart enough to downgrade if guest queue size is too big? > Signed-off-by: Denis V. Lunev <d...@openvz.org> > CC: "Michael S. Tsirkin" <m...@redhat.com> > CC: Stefan Hajnoczi <stefa...@redhat.com> > CC: Kevin Wolf <kw...@redhat.com> > CC: Max Reitz <mre...@redhat.com> > CC: Paolo Bonzini <pbonz...@redhat.com> > CC: Richard Henderson <r...@twiddle.net> > CC: Eduardo Habkost <ehabk...@redhat.com>