From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Add definitions for current cpu models.. Date: Thu, 21 Jan 2010 17:55:30 +0000 Message-ID: <20100121175530.GB28467@shareable.org> References: <4B549016.6090501@redhat.com> <20100119221548.GC11920@shareable.org> <4B57638A.1060103@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: KVM list , qemu-devel@nongnu.org, "Przywara, Andre" To: john cooper Return-path: Received: from mail2.shareable.org ([80.68.89.115]:49799 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271Ab0AURzb (ORCPT ); Thu, 21 Jan 2010 12:55:31 -0500 Content-Disposition: inline In-Reply-To: <4B57638A.1060103@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: john cooper wrote: > > I foresee wanting to iterate over the models and pick the latest one > > which a host supports - on the grounds that you have done the hard > > work of ensuring it is a reasonably good performer, while "probably" > > working on another host of similar capability when a new host is made > > available. > > That's a fairly close use case to that of safe migration > which was one of the primary motivations to identify > the models being discussed. Although presentation and > administration of such was considered the domain of management > tools. My hypothetical script which iterates over models in that way is a "management tool", and would use qemu to help do its job. Do you mean that more powerful management tools to support safe migration will maintain _their own_ processor model tables, and perform their calculations using their own tables instead of querying qemu, and therefore not have any need of qemu's built in table? If so, I favour more strongly Anthony's suggestion that the processor model table lives in a config file (eventually), as that file could be shared between management tools and qemu itself without duplication. -- Jamie