Received: from eggs.gnu.org ([2001:4830:134:3::10]:57667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP8WL-0004TI-ER for qemu-devel@nongnu.org; Fri, 29 Jan 2016 07:51:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP8WJ-0002OC-21 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 07:51:25 -0500 Received: from e06smtp07.uk.ibm.com ([195.75.94.103]:35834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP8WI-0002Nn-O8 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 07:51:22 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 29 Jan 2016 12:51:18 -0000 Date: Fri, 29 Jan 2016 13:51:12 +0100 From: Cornelia Huck Message-ID: <20160129135112.30f78b42.cornelia.huck@de.ibm.com> In-Reply-To: <1453978688-222752-1-git-send-email-imammedo@redhat.com> References: <1453978470-222624-1-git-send-email-imammedo@redhat.com> <1453978688-222752-1-git-send-email-imammedo@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v19 7/9] machine: add properties to compat_props incrementaly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: agraf@suse.de, ehabkost@redhat.com, mst@redhat.com, ghammer@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, borntraeger@de.ibm.com, qemu-ppc@nongnu.org, pbonzini@redhat.com, rth@twiddle.net, lersek@redhat.com, david@gibson.dropbear.id.au On Thu, 28 Jan 2016 11:58:08 +0100 Igor Mammedov wrote: > Switch to adding compat properties incrementaly instead of > completly overwriting compat_props per machine type. > That removes data duplication which we have due to nested > [PC|SPAPR]_COMPAT_* macros. We'll try to switch to something similar to spapr for ccw so we can get rid of the nesting as well (once one of us has time to look into that). > > It also allows to set default device properties from > default foo_machine_options() hook, which will be used > in following patch for putting VMGENID device as > a function if ISA bridge on pc/q35 machines. > > Suggested-by: Eduardo Habkost > Signed-off-by: Igor Mammedov master + this patch (+ <20160115120143.GB2432@work-vm>) survives some playing around with virsh managedsave and the 2.4/2.5/2.6 ccw machines, so Acked-by: Cornelia Huck