From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 1/2] KVM: Remove memory alias support Date: Mon, 21 Jun 2010 17:38:43 -0300 Message-ID: <20100621203843.GA17906@amt.cnet> References: <1277110319-13974-1-git-send-email-avi@redhat.com> <1277110319-13974-2-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41758 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758274Ab0FUUpV (ORCPT ); Mon, 21 Jun 2010 16:45:21 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5LKjLr3004996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Jun 2010 16:45:21 -0400 Content-Disposition: inline In-Reply-To: <1277110319-13974-2-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 21, 2010 at 11:51:58AM +0300, Avi Kivity wrote: > As advertised in feature-removal-schedule.txt. Equivalent support is provided > by overlapping memory regions. > > Signed-off-by: Avi Kivity > --- > Documentation/feature-removal-schedule.txt | 11 --- > Documentation/kvm/api.txt | 12 +--- > arch/ia64/kvm/kvm-ia64.c | 5 - > arch/powerpc/kvm/powerpc.c | 5 - > arch/s390/kvm/kvm-s390.c | 5 - > arch/x86/include/asm/kvm_host.h | 21 ----- > arch/x86/kvm/mmu.c | 17 +--- > arch/x86/kvm/paging_tmpl.h | 3 +- > arch/x86/kvm/x86.c | 125 ---------------------------- > arch/x86/kvm/x86.h | 7 -- > include/linux/kvm.h | 1 + > include/linux/kvm_host.h | 6 -- > virt/kvm/kvm_main.c | 18 +--- > 13 files changed, 11 insertions(+), 225 deletions(-) > > diff --git a/include/linux/kvm.h b/include/linux/kvm.h > index 6fd40f5..ea294e6 100644 > --- a/include/linux/kvm.h > +++ b/include/linux/kvm.h > @@ -619,6 +619,7 @@ struct kvm_clock_data { > */ > #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) > #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) > +/* KVM_SET_MEMORY_REGION is obsolete: */ SET_MEMORY_ALIAS? > #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias) > #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) > #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)