From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUP14-0008Sg-5R for qemu-devel@nongnu.org; Sun, 09 Sep 2007 11:48:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUP12-0008PG-Kd for qemu-devel@nongnu.org; Sun, 09 Sep 2007 11:48:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUP12-0008Oo-Bn for qemu-devel@nongnu.org; Sun, 09 Sep 2007 11:48:04 -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 1IUP11-0001wi-T5 for qemu-devel@nongnu.org; Sun, 09 Sep 2007 11:48:04 -0400 Date: Sun, 9 Sep 2007 16:47:54 +0100 From: Jamie Lokier Subject: Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests Message-ID: <20070909154754.GC22349@mail.shareable.org> References: <20070905174530.GA3945@karma.qumranet.com> <46E3ED2B.6080606@qumranet.com> <20070909130725.GF24240@mail.shareable.org> <200709091625.59859.paul@codesourcery.com> <46E4114C.6090804@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E4114C.6090804@qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: kvm-devel , Paul Brook , qemu-devel@nongnu.org Avi Kivity wrote: > >I agree. If the host OS has disabled a feature, it's a fair bet it's done > >that for a reason. > > The reason may not be relevant to the guest. For most guests the relevant features are those which work correctly and efficiently on the virtual CPU. If the host OS has disabled a feature, most often that's because the feature doesn't work on the specific host CPU model, but not always. It might be emulated well, but probably not efficiently. In some cases, you might want a guest to see features supported by the host CPU which the host OS has disabled, but I imagine those are unusual - it doesn't seem very likely. Can you give an example? They can be enabled explicitly by the -cpuid flag if needed. -- Jamie