From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 9/9] Allow setting the SVME bit v5 Date: Sun, 02 Nov 2008 11:11:41 +0200 Message-ID: <490D6ECD.7060703@redhat.com> References: <1224522290-11740-1-git-send-email-agraf@suse.de> <1224522290-11740-2-git-send-email-agraf@suse.de> <1224522290-11740-3-git-send-email-agraf@suse.de> <1224522290-11740-4-git-send-email-agraf@suse.de> <1224522290-11740-5-git-send-email-agraf@suse.de> <1224522290-11740-6-git-send-email-agraf@suse.de> <1224522290-11740-7-git-send-email-agraf@suse.de> <1224522290-11740-8-git-send-email-agraf@suse.de> <1224522290-11740-9-git-send-email-agraf@suse.de> <1224522290-11740-10-git-send-email-agraf@suse.de> <490A0822.4030607@codemonkey.ws> <490A1EA8.6050905@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Graf , kvm@vger.kernel.org, joro@8bytes.org To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52641 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752923AbYKBJLv (ORCPT ); Sun, 2 Nov 2008 04:11:51 -0500 In-Reply-To: <490A1EA8.6050905@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: Anthony Liguori wrote: >> That's a really good idea. We'd only have to check the MSR value on >> EFER set, to know if setting SVME is allowed. That would allow for a >> really easy control over the SVM feature on a per-guest basis and >> from userspace. > > And with Gleb's BIOS configuration changes that are now upstream, it's > really easy to communicate to the BIOS whether SVM should be enabled. We need the ability to control this on the qemu level rather than guest bios level. For example, once you enable the cpuid bit, then, strictly speaking, you lose the ability to live migrate across vendors. -- error compiling committee.c: too many arguments to function