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: Mon, 03 Nov 2008 15:54:07 +0200 Message-ID: <490F027F.6090403@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> <490D6ECD.7060703@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , "kvm@vger.kernel.org" , "joro@8bytes.org" To: Alexander Graf Return-path: Received: from mx2.redhat.com ([66.187.237.31]:45527 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754000AbYKCNyS (ORCPT ); Mon, 3 Nov 2008 08:54:18 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: >> 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. > > Hum, so we could patch the bios to always try and activate svm when > the cpuid bit is found and disable it (msr write) when not. It needs to do this anyway in case it finds itself running on an Intel cpu or a pre-nested-svm kernel. > Then we could simply enable/disable the cpuid capability in qemu if we > don't want it exposed. Yes. -- error compiling committee.c: too many arguments to function