Received: from eggs.gnu.org ([2001:4830:134:3::10]:47446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bce6t-0001pQ-VW for qemu-devel@nongnu.org; Wed, 24 Aug 2016 15:45:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bce6p-0005JA-RE for qemu-devel@nongnu.org; Wed, 24 Aug 2016 15:45:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bce6p-0005J3-Lb for qemu-devel@nongnu.org; Wed, 24 Aug 2016 15:45:11 -0400 Date: Wed, 24 Aug 2016 15:45:10 -0400 From: Eduardo Habkost Message-ID: <20160824194510.GC3622@thinpad.lan.raisama.net> References: <1472062266-53206-1-git-send-email-dahi@linux.vnet.ibm.com> <1472062266-53206-27-git-send-email-dahi@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472062266-53206-27-git-send-email-dahi@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [Patch v3 26/30] qmp: add QMP interface "query-cpu-model-comparison" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand Cc: qemu-devel@nongnu.org, jdenemar@redhat.com, imammedo@redhat.com, cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, fiuczy@linux.vnet.ibm.com, mimu@linux.vnet.ibm.com On Wed, Aug 24, 2016 at 08:11:02PM +0200, David Hildenbrand wrote: > Let's provide a standardized interface to compare two CPU models. > "query-cpu-model-compare" takes two models and returns how they compare > in a specific configuration. > > The result will give guarantees about runnability. E.g. if a CPU model A > is a subset of CPU model B, model A is guaranteed to run in configurations > where model B runs, but not the other way around (might or might not run). > > Usually, CPU features or CPU generations are used to calculate the result. > If a model is not guaranteed to run in a certain environment (e.g. > incompatible), a compatible one can be created by "baselining" both models > (follow up patch). > > Acked-by: Cornelia Huck > Signed-off-by: David Hildenbrand Reviewed-by: Eduardo Habkost -- Eduardo