From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: RFC/Patch 1/4 portability: split kvm_vm_ioctl v3 Date: Mon, 29 Oct 2007 10:54:49 -0500 Message-ID: <1193673289.19609.2.camel@basalt> References: <1193668687.7471.5.camel@cotte.boeblingen.de.ibm.com> <1193670516.7471.37.camel@cotte.boeblingen.de.ibm.com> <1193670660.4484.26.camel@izike-woof.qumranet.com> <4725FB3A.1080609@de.ibm.com> Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , Avi Kivity , "Zhang, Xiantao" To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Return-path: In-Reply-To: <4725FB3A.1080609-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Mon, 2007-10-29 at 16:24 +0100, Carsten Otte wrote: > Izik Eidus wrote: > > i think KVM_SET_MEMORY_ALIAS, is useful not just to x86, > > > > avi talked with the ia64 guys and they told him that they have use for > > this function. > > > > is it that bad for you? > KVM_SET_USER_MEMORY_REGION is a superset of KVM_SET_MEMORY_ALIAS, at > least that's how I read Avi's reply to Xiantaos comment. Avi, could > you clarify this? AFAICS, you can just issue two KVM_SET_USER_MEMORY_REGION ioctls in a row, changing 'guest_phys_addr' and leaving 'userspace_addr' the same. That will create an alias. -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/