Received: from eggs.gnu.org ([209.51.188.92]:48588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hH58Q-0004k3-QT for qemu-devel@nongnu.org; Thu, 18 Apr 2019 07:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hH58P-0004hP-UK for qemu-devel@nongnu.org; Thu, 18 Apr 2019 07:23:18 -0400 Date: Thu, 18 Apr 2019 13:23:08 +0200 From: Kevin Wolf Message-ID: <20190418112308.GD5242@linux.fritz.box> References: <20190417115343.30527-1-pbonzini@redhat.com> <20190418104737.GC5242@linux.fritz.box> <87b281df-e0a0-6537-0e1a-4c6af28ffc01@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87b281df-e0a0-6537-0e1a-4c6af28ffc01@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] scsi-generic: prevent guest from exceeding SG_IO limits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , Stefan Hajnoczi , qemu-devel , qemu block , qemu-stable Am 18.04.2019 um 13:01 hat Paolo Bonzini geschrieben: > On 18/04/19 12:47, Kevin Wolf wrote: > >> This is acually only an issue with kernels prior to 4.5, so it should be > >> fixed downstream instead. > > > > I don't think that upstream QEMU has kernels > 4.5 as an official > > requirement, though? We try to be compatible with quite old libs, so we > > should stay compatible with old kernels, too. > > It is a pretty rare case, where the host must support very large > scatter/gather lists (>=1024 elements) and there is a workaround by > setting max_sectors_kb to 4096 in the host. It also makes performance > worse. Fair enough. I didn't consider that it has a performance impact even on newer kernels that don't need the patch. Kevin