From: Alexander Graf Subject: Re: [PATCH 0/9] [RFC] Add support for nested SVM (kernel) Date: Mon, 1 Sep 2008 16:47:02 +0200 Message-ID: <369FA656-A309-4959-BBB2-8D0312D18C63@suse.de> References: <1220270281-15720-1-git-send-email-agraf@suse.de> <20080901134110.GD2151@redhat.com> <48BBFA8C.6070003@qumranet.com> Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Cc: "Daniel P. Berrange" , kvm@vger.kernel.org, joro@8bytes.org, anthony@codemonkey.ws To: Avi Kivity Return-path: Received: from cantor.suse.de ([195.135.220.2]:59302 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbYIAOrE (ORCPT ); Mon, 1 Sep 2008 10:47:04 -0400 In-Reply-To: <48BBFA8C.6070003@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sep 1, 2008, at 4:22 PM, Avi Kivity wrote: > Alexander Graf wrote: >> >> This is completely implementation specific. So for now this is 100% >> AMD only code. >> Also I don't really like Intel's design for VMX and while making >> nested VMX work might not be _that_ hard, getting it fast would >> probably require a lot of work and hacks. > > I've thought of introducing a third, hypercall based, virtualization > extension and exposing that. We could then optimize it to the hilts. > > The advantages of this are that we can live migrate across vendors, > and of course we have great freedom in the implementation. The > disadvantage is that a lot of thought needs to go into the design in > order to accommodate future changes in both the host and guest. Not only that, but we'd also only enable running KVM inside the VM for now. With real vendor specific extensions passed through you could run a 3rd party hypervisor, which is what I think is the really interesting use case. Alex > > > -- > error compiling committee.c: too many arguments to function >