From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9zDp-0005VQ-QE for qemu-devel@nongnu.org; Fri, 18 Dec 2015 12:53:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9zDk-00087j-Qt for qemu-devel@nongnu.org; Fri, 18 Dec 2015 12:53:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9zDk-00087e-L5 for qemu-devel@nongnu.org; Fri, 18 Dec 2015 12:53:36 -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 2C0908E386 for ; Fri, 18 Dec 2015 17:53:36 +0000 (UTC) Date: Fri, 18 Dec 2015 15:53:33 -0200 From: Eduardo Habkost Message-ID: <20151218175333.GV3774@thinpad.lan.raisama.net> References: <1450373244-27585-1-git-send-email-ehabkost@redhat.com> <1450431705.15674.26.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450431705.15674.26.camel@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: Gerd Hoffmann Cc: Victor Kaplansky , Marcel Apfelbaum , John Snow , "Michael S. Tsirkin" , Markus Armbruster , qemu-devel@nongnu.org, Paolo Bonzini , Laszlo Ersek , "Dr. David Alan Gilbert" On Fri, Dec 18, 2015 at 10:41:45AM +0100, Gerd Hoffmann wrote: > On Do, 2015-12-17 at 15:27 -0200, 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. > > > -static void pc_compat_1_6(MachineState *machine) > > -{ > > - pc_compat_1_7(machine); > > - rom_file_has_mr = false; > > - has_acpi_build = false; > > After applying this patch has_acpi_build is always true and can be > dropped, together with some other code elsewhere which depends on > has_acpi_build. The same is probably true for other variables as well > (gigabyte_align?). Guess it's best to do this as one-per-variable > incremental patches. The static variables will be replaced by PCMachineClass fields. See: Subject: [Qemu-devel] [PATCH v3 0/6] pc: Initialization and compat function cleanup Date: Tue, 1 Dec 2015 20:58:02 -0200 Message-Id: <1449010688-19205-1-git-send-email-ehabkost@redhat.com> > > Reviewed-by: Gerd Hoffmann Thanks! -- Eduardo