From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUmWG-0005H3-Ia for qemu-devel@nongnu.org; Mon, 10 Sep 2007 12:53:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUmWD-0005EC-Ip for qemu-devel@nongnu.org; Mon, 10 Sep 2007 12:53:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUmWD-0005Dn-Cl for qemu-devel@nongnu.org; Mon, 10 Sep 2007 12:53:49 -0400 Received: from mail.shareable.org ([81.29.64.88]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IUmWC-000760-RK for qemu-devel@nongnu.org; Mon, 10 Sep 2007 12:53:49 -0400 Date: Mon, 10 Sep 2007 17:53:36 +0100 From: Jamie Lokier Subject: Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests Message-ID: <20070910165336.GA1825@mail.shareable.org> References: <20070905174530.GA3945@karma.qumranet.com> <200709091625.59859.paul@codesourcery.com> <46E4114C.6090804@qumranet.com> <200709091712.15743.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200709091712.15743.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm-devel Paul Brook wrote: > > > What you really want to do is ask your virtualization module what > > > features it supports. > > > > Yes, that needs to be an additional filter. > > I'd have thought that would be the *only* interesting set for autodetection. If that means the same as the features which are efficient for the guest, then I agree. If there's a difference, I'd have thought you'd normally want the guest to use only those features which work at near-native performance, not those which involve a trap and long path through the virtualisation/emulation, even if they're supported. No example comes to mind, but that seems like the principle to go for, to me. -- Jamie