From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQVIm-0004ud-Mx for qemu-devel@nongnu.org; Fri, 22 Jul 2016 03:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQVIg-0005a8-UN for qemu-devel@nongnu.org; Fri, 22 Jul 2016 03:55:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQVIg-0005a4-O7 for qemu-devel@nongnu.org; Fri, 22 Jul 2016 03:55:14 -0400 References: <1469028501-23780-1-git-send-email-marcel@redhat.com> <20160722003618-mutt-send-email-mst@kernel.org> <1469138332.3363.66.camel@redhat.com> <20160722012006-mutt-send-email-mst@kernel.org> From: Marcel Apfelbaum Message-ID: <5791D15E.40302@redhat.com> Date: Fri, 22 Jul 2016 10:55:10 +0300 MIME-Version: 1.0 In-Reply-To: <20160722012006-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V3] hw/virtio-pci: fix virtio behaviour List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , Gerd Hoffmann Cc: qemu-devel@nongnu.org, cornelia.huck@de.ibm.com, Greg Kurz On 07/22/2016 01:21 AM, Michael S. Tsirkin wrote: > On Thu, Jul 21, 2016 at 11:58:52PM +0200, Gerd Hoffmann wrote: >> Hi, >> >>> Actually this can still break existing scripts: >>> stick a device on express bus but add disable-modern=on >>> Gave you a legacy device previously but it no longer does. >> >> Unlikely to happen in practice because there is little reason to use >> disable-modern=on in 2.6 & older because that is the default ... > > Good point, I forgot. > >> Still we can default to legacy=yes in case disable-modern=on + >> disable-legacy=auto. > > Given the above I'm not sure it's worth it. I'll leave it to Marcel > to decide. Hi Michael,Gerd, I think it doesn't worth to make the code more complicated for an uninteresting scenario. > >> And throw and error in case both modern and legacy >> are explicitly disabled (as already suggested elsewhere in this thread). >> There is already a patch for this upstream: https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg05263.html Michael, since the rc1 is approaching fast, can you please advice on what changes to make to the commit message and if you prefer me to add the Greg patch to the series and re-send, or you can take it separately? Thanks, Marcel >> cheers, >> Gerd