From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [RFC PATCH] kvm: Enable -cpu option to hide KVM Date: Mon, 02 Jun 2014 17:55:08 +0200 Message-ID: <538C9E5C.2040007@redhat.com> References: <20140601162414.28708.22775.stgit@bling.home> <538B70FF.6050103@redhat.com> <1401657070.9207.6.camel@ul30vt.home> <538C233F.5030106@redhat.com> <1401720132.9207.42.camel@ul30vt.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Alex Williamson Return-path: Received: from mail-we0-f182.google.com ([74.125.82.182]:35743 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbaFBPzM (ORCPT ); Mon, 2 Jun 2014 11:55:12 -0400 Received: by mail-we0-f182.google.com with SMTP id t60so5272479wes.41 for ; Mon, 02 Jun 2014 08:55:11 -0700 (PDT) In-Reply-To: <1401720132.9207.42.camel@ul30vt.home> Sender: kvm-owner@vger.kernel.org List-ID: Il 02/06/2014 16:42, Alex Williamson ha scritto: >> > Same as your "no-kvm", just with the default flipped from false to true. > Ah, easy enough. Do we want to limit the scope a bit by indicating > exactly what is getting disabled, perhaps kvm-msr=on|off? Thanks, The capabilities are actually already available for selective disabling via CPUID features (search for kvm_feature_name). What's missing is a master property to disable the CPUID leaves themselves, so your patch provides exactly what's needed. Paolo