Received: from eggs.gnu.org ([2001:4830:134:3::10]:49389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9cZi-0002Ep-57 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 12:42:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9cZe-0005Xy-1F for qemu-devel@nongnu.org; Thu, 17 Dec 2015 12:42:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9cZd-0005Xt-SO for qemu-devel@nongnu.org; Thu, 17 Dec 2015 12:42:41 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 407CE91D04 for ; Thu, 17 Dec 2015 17:42:41 +0000 (UTC) Date: Thu, 17 Dec 2015 15:42:38 -0200 From: Eduardo Habkost Message-ID: <20151217174238.GR3774@thinpad.lan.raisama.net> References: <1450373244-27585-1-git-send-email-ehabkost@redhat.com> <5672F28B.5020308@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5672F28B.5020308@redhat.com> Subject: Re: [Qemu-devel] [RESEND PATCH] q35: Remove old machine versions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: Victor Kaplansky , "Michael S. Tsirkin" , Marcel Apfelbaum , qemu-devel@nongnu.org, Markus Armbruster , Gerd Hoffmann , Paolo Bonzini , Laszlo Ersek , "Dr. David Alan Gilbert" On Thu, Dec 17, 2015 at 12:36:11PM -0500, John Snow wrote: > > > On 12/17/2015 12:27 PM, Eduardo Habkost wrote: > > Migration with q35 was not possible before commit > > 04329029a8c539eb5f75dcb6d8b016f0c53a031a, because q35 unconditionally > > creates an ich9-ahci device, that was marked as unmigratable. So all q35 > > machine classes before pc-q35-2.4 were not migratable, so there's no > > point in keeping compatibility code for them. > > > > Remove all old pc-q35 machine classes and keep only pc-q35-2.4. > > > > Signed-off-by: Eduardo Habkost > > --- > > Resubmitting this series, as I didn't see any convincing argument > > to keep the old code around. > > --- > > hw/i386/pc_q35.c | 163 ------------------------------------------------------- > > 1 file changed, 163 deletions(-) > > [...] > > To recap, the main objection last time was that it might upset existing > libvirt configurations because libvirt saves the machine types in the > XML, and this will cause existing configurations to be unable to boot. > > There was some discussion over "fudging" it so that we silently forced > users onto 2.4+, but this was rejected as a bad idea in favor of just > simply breaking anybody relying on pre-2.4 machine types. > > So the question becomes: > > What do we gain by deleting this? Is cleaning up this code worth > breaking some configurations? Developer time. We don't waste time reviewing, refactoring, and fixing compat code that nobody should ever run. See, for example, the patch sent by Gerd today: [PATCH 6/6] q35: skip q35-acpi-dsdt.aml load if not needed -- Eduardo