From: Alexander Graf Subject: Re: [Qemu-devel] [PATCH 1/3] qemu-kvm: Invert svm-flag setting logic Date: Tue, 7 Sep 2010 14:37:33 +0200 Message-ID: References: <1283858843-21330-1-git-send-email-joerg.roedel@amd.com> <1283858843-21330-2-git-send-email-joerg.roedel@amd.com> <20100907123016.GA2108@redhat.com> <7BED2EED-8D8B-4D42-9208-D3D04C23C77D@suse.de> <4C86318F.5050101@redhat.com> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Cc: "Daniel P. Berrange" , Joerg Roedel , Marcelo Tosatti , kvm@vger.kernel.org, qemu-devel@nongnu.org To: Avi Kivity Return-path: Received: from cantor.suse.de ([195.135.220.2]:50390 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756256Ab0IGMhf convert rfc822-to-8bit (ORCPT ); Tue, 7 Sep 2010 08:37:35 -0400 In-Reply-To: <4C86318F.5050101@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07.09.2010, at 14:35, Avi Kivity wrote: > On 09/07/2010 03:33 PM, Alexander Graf wrote: >> >>> I agree that its much nicer for mgmt tools if svm/vmx CPU flags can just be >>> toggled in the normal manner. Might we also want to have a enable/disable >>> nesting flag, so we can mirror the way real hardware lets you disable virt >>> in the BIOS even when the CPU(s) have the vmx/svm flags set ? >> I don't see how that's useful. We don't model anything like this in the kvm kernel module, so whatever we expose in user space would not be useful for detection testing. Also I'm fairly sure you either want nesting or you don't :). And if you want nesting, you probably want -cpu host too, since you lose migration anyways. > > Why do you lost migration? Is that part fixed already? Joerg worked so hard on so many things that I lost track of what works and what doesn't :). Alex